18.01.2014, 09:53
SOLVED!!!
I keep spawning at the escalates when I select grove street. It only happens sometiems though and I cant figure it out... Any help?
Here is my spawn code:
I keep spawning at the escalates when I select grove street. It only happens sometiems though and I cant figure it out... Any help?
Here is my spawn code:
Код:
case DIALOG_STEAM: { if(!response) return ShowPlayerDialog(playerid, DIALOG_STEAM, DIALOG_STYLE_LIST, "Gang Selection", "Grove Street Families \nThe Ballas \nVarios Los Aztecas \nLos Santos Vagos", "Continue", "Cancel"); if(response) { if(listitem == 0) { new id = random(3); new rand = random(sizeof(GroveSpawn)); SetPlayerColor(playerid, CGrove); SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1); SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1); SetSpawnInfo(playerid, 1, GroveGangTeamSkin[id], GroveSpawn[rand][0], GroveSpawn[rand][1], GroveSpawn[rand][2], GroveSpawn[rand][3], 22, 999, 28, 999, 1, 999); SpawnPlayer(playerid); } if(listitem == 1) { new id = random(3); new rand = random(sizeof(BallasSpawn)); SetPlayerColor(playerid, CBallas); } if(listitem == 2) { SetPlayerColor(playerid, CVarios); } if(listitem == 3) { SetPlayerColor(playerid, CVagos); } } }