26.10.2010, 21:59
faz assim
pawn Код:
if(strcmp(cmdtext, "/fazendap", true) == 0)
{
SetPlayerInterior(playerid, 0);
ResetPlayerWeapons(playerid);
SetPlayerPos(playerid,xyz);
GivePlayerWeapon(playerid, 23, 1000);
GivePlayerWeapon(playerid, 25, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 34, 1000);
SetPlayerSkin(playerid, 265);
TogglePlayerControllable(playerid, 0); // <-
SetTimerEx("DescongelarFDP", 5000, 0,"i", playerid); // <-
SendClientMessage(playerid, 0xFF0000AA, "Espere 5 segundos!"); //<-
return 1;
}
// final do gm:
forward DescongelarFDP(playerid);
public DescongelarFDP(playerid)
{
TogglePlayerControllable(playerid, 1);
GameTextForPlayer(playerid, "VA MATAR Os AGRICULTORES", 4000, 6);
return 1;
}