Latest topics
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest None
Most users ever online was 101 on Tue May 14, 2019 2:16 pm
Application as a Scripter
2 posters
Page 1 of 1
Application as a Scripter
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
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
Fox- Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you
Re: Application as a Scripter
Accepted, But You wont get FTP, I will test you first
[MLs]Godfather- Owner, Founder
- Posts : 99
Points : 152
Join date : 2011-04-14
Re: Application as a Scripter
[MLs]Godfather wrote:Accepted, But You wont get FTP, I will test you first
Alright.. what shall I do for my test?
Fox- Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you
Re: Application as a Scripter
Make /getteam [teamname] && /giveteamscore [TEAMNAME] [AMMOUNT OF SCORE]Fox wrote:[MLs]Godfather wrote:Accepted, But You wont get FTP, I will test you first
Alright.. what shall I do for my test?
[MLs]Godfather- Owner, Founder
- Posts : 99
Points : 152
Join date : 2011-04-14
Re: Application as a Scripter
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;
}
{
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;
}
Fox- Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you
Re: Application as a Scripter
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
{
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
Fox- Posts : 10
Points : 12
Join date : 2011-04-30
Location : Behind you
Similar topics
» Mappers Application
» Gamal's Application
» Scripters Application
» Admin Application
» MIC's Admin Application.
» Gamal's Application
» Scripters Application
» Admin Application
» MIC's Admin Application.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
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