05.04.2017, 15:47
Tudo ok e ainda continua sem o NPC no servidor. =/
PHP код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
//if(!strcmp(npcname, "Belck", true))
if(!strcmp(npcname, "Belck"))
{
SetPlayerSkin(playerid,281);
Attach3DTextLabelToPlayer(Belck, playerid, 0.0, 0.0, 0.2);
SetPlayerColor(playerid,0xFFFFFF00);
SetTimerEx("FalaDeBelck",20000,true,"d",playerid);
}
return 1;
}