19.09.2016, 16:44
(
Последний раз редактировалось Josh_Main; 19.09.2016 в 17:57.
)
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
EDIT: EVERYTHINGS FIXED EXCEPT, I can't kill the NPC's.. They won't take any damage. What could this be caused by?
.
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(playerid, 1.71875, 30.4062, 1200.34);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pSex] = 1;
RegistrationStep[playerid] = 2;
SetPlayerSkin(playerid, 261);
ShowPlayerDialog(playerid, AGEMENU, DIALOG_STYLE_INPUT, "Please specify your age", "How old are you?", "Select", "Cancel");
return 0;
}
else
{
SetPlayerPos(playerid, 1.71875, 30.4062, 1200.34);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pSex] = 2;
RegistrationStep[playerid] = 2;
SetPlayerSkin(playerid, 193);
ShowPlayerDialog(playerid, AGEMENU, DIALOG_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?
.