02.02.2014, 11:59
pawn Код:
if(!strcmp(cmdtext,"/darsalario",true))
{
switch(pAdmin[playerid])
{
case 1..5:
{
new RandomPay = random(5000 - 725) + 725;
for(new pt = 0; pt < MAX_PLAYERS; pt++)
GivePlayerGrana(pt, RandomPay);
SendClientMessageToAll(0xFFFF00AA, "Vocк recebeu salario, vб depositar");
}
default: SendClientMessage(playerid, 0xFFFF00AA, "Nao tens permissao");
}
return true;
}