11.11.2013, 02:51
PHP код:
if(strcmp(cmd, "/pcn", true) == 0)
{
new Nome[MAX_PLAYER_NAME];
if(PlayerToPoint(15.0, playerid, 1245.8066,-767.7612,91.9662))
{
GetPlayerName(playerid, Nome, MAX_PLAYER_NAME);
if(strfind(Nome, "Veryloco", true) != -1)
{
MoveObject(portaocosa, 1245.454590, -767.371582, 88.105598, 3);
GameTextForPlayer(playerid, "~w~Portao Cosa Nostra ~n~~b~Aberto", 5000, 3);
SetTimer("portaocosa2", 5000, false);
}
else
{ SendClientMessage(playerid, -1 ,"Vocк nгo e da familia VeryLoco.");}
}
return 1;
}