10.07.2010, 19:13
Quote:
Hey so here I changed the line but when I enter in game I crash
Code:
if(IsPlayerInRangeOfPoint(playerid, 1, -2281.6755,2288.2437,4.9703)) {//SAPD Entrance PlayerInfo[playerid][pInteriorNr] = 1; GameTextForPlayer(playerid, "~w~Police Department", 5000, 1); SafeSetPlayerInterior(playerid, 6); SafeSetPlayerPos(playerid,246.7079,66.2239,1003.6406); } else if(IsPlayerInRangeOfPoint(playerid, 1, 246.5325,62.4251,1003.6406)) {//SAPD Exit PlayerInfo[playerid][pInteriorNr] = 0; GameTextForPlayer(playerid, "~w~Bayside", 5000, 1); SafeSetPlayerInterior(playerid, 0); SafeSetPlayerPos(playerid,-2281.6755,2288.2437,4.9703); } |