NPC help
#5

Well you can do here a trick...

PHP код:
//Under OnPlayerSpawn 
if(IsPlayerNPC(playerid)) 

    new 
n[MAX_PLAYER_NAME]; 
    
GetPlayerName(playerid,n,MAX_PLAYER_NAME); 
    if(
strfind(n,ZOMBIE_NAME) != -1)
    { 
        
//So you know..here spawned a zombie
        
SetPlayerSkin(playerid162); //This is a nice zombie skin xD
    

    return 
1

Reply


Messages In This Thread
NPC help - by Josh_Main - 19.09.2016, 15:31
Re: NPC help - by Kaliber - 19.09.2016, 15:43
Re: NPC help - by jlalt - 19.09.2016, 15:44
Re: NPC help - by Josh_Main - 19.09.2016, 15:49
Re: NPC help - by Kaliber - 19.09.2016, 16:08
Re: NPC help - by Josh_Main - 19.09.2016, 16:21
Re: NPC help - by Kaliber - 19.09.2016, 16:33
Re: NPC help - by Josh_Main - 19.09.2016, 16:37
Re: NPC help - by Kaliber - 19.09.2016, 16:38
Re: NPC help - by Josh_Main - 19.09.2016, 16:44

Forum Jump:


Users browsing this thread: 2 Guest(s)