[Ajuda] NPC invisнvel ?
#3

Quote:
Originally Posted by SammyJ
Посмотреть сообщение
Verifica se o mesmo passou pelo spawn.
Tudo ok e ainda continua sem o NPC no servidor. =/

PHP код:
public OnPlayerSpawn(playerid)
{
    if(
IsPlayerNPC(playerid))
    {
        new 
npcname[MAX_PLAYER_NAME];
        
GetPlayerName(playeridnpcnamesizeof(npcname));
        
//if(!strcmp(npcname, "Belck", true))
        
if(!strcmp(npcname"Belck"))
        {
            
SetPlayerSkin(playerid,281);
            
Attach3DTextLabelToPlayer(Belckplayerid0.00.00.2);
            
SetPlayerColor(playerid,0xFFFFFF00);
            
SetTimerEx("FalaDeBelck",20000,true,"d",playerid);
        }
        return 
1;
    } 
Reply


Messages In This Thread
NPC invisнvel ? - by JhefTFJ - 05.04.2017, 01:17
Respuesta: NPC invisнvel ? - by SammyJ - 05.04.2017, 01:58
Re: Respuesta: NPC invisнvel ? - by JhefTFJ - 05.04.2017, 15:47
Respuesta: Re: Respuesta: NPC invisнvel ? - by SammyJ - 05.04.2017, 16:30
Re: Respuesta: Re: Respuesta: NPC invisнvel ? - by JhefTFJ - 05.04.2017, 16:49
Re: NPC invisнvel ? - by JhefTFJ - 05.04.2017, 17:43

Forum Jump:


Users browsing this thread: 2 Guest(s)