#1

some can help you pass this on strcmp a dcmd.

Код:
new VariableDeBloqueo[MAX_PLAYERS];
//
if(strcmp(cmdtext, "/Salirdm", true) == 0)
{
SpawnPlayer(playerid);
VariableDeBloqueo[playerid] = 0;
ResetPlayerWeapons(playerid);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerTime(playerid,0,7);
GameTextForPlayer(playerid,"~r~~h~Has salido!",2500,3);
return 1;
}
//
if(VariableDeBloqueo[playerid] == 1)
{
GameTextForPlayer(playerid,"~r~~h~! (error) !~n~~w~escribe~n~~y~/salirDM",3000,3);
return 1;
}
Gracias.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)