27.01.2012, 22:23
(
Последний раз редактировалось Snowman12; 28.01.2012 в 15:10.
)
Hey,
Below is my command that I feel all edited RP scripts should have.
Use it and have fun! Will get you atleast 5000/500 players.
Sorry for my bad English.
HEHEHE Sorry for the troll I was reading some bad command examples
Below is my command that I feel all edited RP scripts should have.
pawn Код:
CMD:getmaxplayers(playerid, params)
{
if(IsPlayerAdmin(playerid))
{
if(GetPlayersInServer() == 1)
{
print("===================================");
print("This is why you don't create edits.");
print("===================================");
SendRconCommand("exit");
}
if(GetPlayersInServer() >= 2&& <= 10)
{
print("================================");
print("Slightly more successful. ");
print("================================");
SendRconCommand("exit");
}
if(GetPlayersInServer() >= 10)
{
print("================================");
print("Dude.. Keep with this server. ");
print("================================");
SendClientMessage(playerid, -1, "You cannot use this command as your server could be successful.");
}
}
return 1;
}
stock GetPlayersInServer( )
{
new
count = 0
;
for( new i; i < MAX_PLAYERS; i++ ) if( IsPlayerConnected( i ) )
{
count ++;
}
return count;
}
Sorry for my bad English.
HEHEHE Sorry for the troll I was reading some bad command examples