NPC help
#10

Ahhhh now they're spawning up in the sky

So sorry man, almost got it though!

When I /zombie, it spawns next to me then disappears. I use /gotop and the zombie is in the sky hahah

EDIT: I figured that this is the dialog it's getting stuck at
PHP код:
if(dialogid == SEXMENU//spawn
    
{
        if(
response)
                {
                     
SetPlayerPos(playerid1.7187530.40621200.34);
                     
SetPlayerInterior(playerid,0);
                    
PlayerInfo[playerid][pSex] = 1;
                       
RegistrationStep[playerid] = 2;
                       
SetPlayerSkin(playerid261);
                    
ShowPlayerDialog(playeridAGEMENUDIALOG_STYLE_INPUT"Please specify your age""How old are you?""Select""Cancel");
                     return 
0;
                 }
                   else
                 {
                    
SetPlayerPos(playerid1.7187530.40621200.34);
                      
SetPlayerInterior(playerid,0);
                    
PlayerInfo[playerid][pSex] = 2;
                       
RegistrationStep[playerid] = 2;
                       
SetPlayerSkin(playerid193);
                      
ShowPlayerDialog(playeridAGEMENUDIALOG_STYLE_INPUT"Please specify your age""How old are you?""Select""Cancel");
                     return 
0;
                }
      } 

EDIT: EVERYTHINGS FIXED EXCEPT, I can't kill the NPC's.. They won't take any damage. What could this be caused by?

.
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: 5 Guest(s)