We've moved to http://mlservers.boilinghost.com/index.php
We've moved to http://mlservers.boilinghost.com/index.php
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Latest topics
» Help me - What's the server ip?
Thu Aug 25, 2011 4:29 am by Tal_XeRoX

» Moving from this forum
Sat Jul 23, 2011 6:34 pm by [MLs]Tank

» Hello all , my name is Tal!
Sat Jul 23, 2011 1:17 am by [MLs]Tank

» Admin Application | XeRoX
Sat Jul 23, 2011 1:14 am by [MLs]Tank

» Mister Falls App.
Fri Jul 15, 2011 11:41 pm by [MLs]Tank

» That War Server
Thu Jun 30, 2011 5:04 pm by [MLs]Godfather

» My mapper app
Tue Jun 07, 2011 11:03 am by [MLs]Mexican

» my admin application!
Mon Jun 06, 2011 11:48 am by [MLs]Mexican

» was up everyone
Sat Jun 04, 2011 9:35 pm by MadeInChina

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 14 on Tue Jul 23, 2013 1:16 pm

Application as a Scripter

Go down

Application as a Scripter

Post by Fox on Sat Apr 30, 2011 5:08 pm

Scripting Knowledge: Pawn, C++, a little bit of java, SQL

C++ Knowldge: Yes, I use Visual Express

Are you ready to be a scripter?: Yes

Why you want to script for MLs: Because this server seems great but I can improve many things, such as get you guys to use y_ini instead of dini, etc. All I will need is FTP access and a Server CP. I will do whatever you want, and I already have some stuff in mind, like a killstreak system, etc.


Thanks,

~Fox
avatar
Fox

Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you

Back to top Go down

Re: Application as a Scripter

Post by [MLs]Godfather on Sat Apr 30, 2011 5:29 pm

Accepted, But You wont get FTP, I will test you first Very Happy

[MLs]Godfather
Owner, Founder
Owner, Founder

Posts : 99
Points : 152
Join date : 2011-04-14

Back to top Go down

Re: Application as a Scripter

Post by Fox on Sat Apr 30, 2011 5:31 pm

[MLs]Godfather wrote:Accepted, But You wont get FTP, I will test you first Very Happy

Alright.. what shall I do for my test?
avatar
Fox

Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you

Back to top Go down

Re: Application as a Scripter

Post by [MLs]Godfather on Sat Apr 30, 2011 5:43 pm

Fox wrote:
[MLs]Godfather wrote:Accepted, But You wont get FTP, I will test you first Very Happy

Alright.. what shall I do for my test?
Make /getteam [teamname] && /giveteamscore [TEAMNAME] [AMMOUNT OF SCORE]

[MLs]Godfather
Owner, Founder
Owner, Founder

Posts : 99
Points : 152
Join date : 2011-04-14

Back to top Go down

Re: Application as a Scripter

Post by Fox on Sun May 01, 2011 6:34 pm

CMD:getteam(playerid,params[])
{
if(PInfo[playerid][Level] >=4 || IsPlayerAdmin(playerid)) {
new name[24],string[128],teamid,Float:x,Float:y,Float:z,interior,world;
if(sscanf(params,"i",teamid)) return SendClientMessage(playerid,RED,"USAGE: /getteam [teamid]");
GetPlayerPos(playerid,x,y,z);
interior = GetPlayerInterior(playerid);
world = GetPlayerVirtualWorld(playerid);
foreach(Player, i)
{
if(GetPlayerTeam(i) == teamid)
{
SetPlayerVirtualWorld(i, world);
SetPlayerInterior(i,interior);
SetPlayerPos(i, x ,y, z);
}
}
GetPlayerName(playerid,name,24);
format(string,sizeof(string),"***Admin %s has teleported team %i",name,teamid);
SendClientMessageToAll(blue,string);
}
return 1;
}
avatar
Fox

Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you

Back to top Go down

Re: Application as a Scripter

Post by Fox on Sun May 01, 2011 6:43 pm

CMD:givescoreteam(playerid,params[])
{
if(PInfo[playerid][Level] >=4 || IsPlayerAdmin(playerid)) {
new name[24],string[128],teamid,score;
if(sscanf(params,"ii",teamid,score)) return SendClientMessage(playerid,RED,"USAGE: /giveteamscore [teamid] [score]");
foreach(Player, i)
{
if(GetPlayerTeam(i) == teamid)
{
SetPlayerScore(playerid,GetPlayerScore(i) + score);
}
}
GetPlayerName(playerid,name,24);
format(string,sizeof(string),"***Admin %s has given team %i %i score",name,teamid,score);
SendClientMessageToAll(blue,string);
}
return 1;
}

Sorry if indention is crap.. just edit it to your vars..

NOTE: I am using zcmd, y_ini, sscanf2, foreach

avatar
Fox

Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you

Back to top Go down

Re: Application as a Scripter

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum