21.06.2010, 18:41
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{ switch(random(3))
{
case 0: GameTextForPlayer(playerid,"~W~lol You got owned!",4000,1);
case 1: GameTextForPlayer(playerid,"~R~hahah you died!!!",4000,0);
case 2: GameTextForPlayer(playerid,"~w~ WASTED!",4000,2);
}
return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new rand = random(3);
switch(rand)
{
case 0: GameTextForPlayer(playerid,"~W~lol You got owned!",4000,1);
case 1: GameTextForPlayer(playerid,"~R~hahah you died!!!",4000,0);
case 2: GameTextForPlayer(playerid,"~w~ WASTED!",4000,2);
}
return 1;
}
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new rand = random(3);
if(rand == 0) GameTextForPlayer(playerid,"~W~lol You got owned!",4000,1);
if(rand == 1) GameTextForPlayer(playerid,"~R~hahah you died!!!",4000,0);
if(rand == 2) GameTextForPlayer(playerid,"~w~ WASTED!",4000,2);
return 1;
}