24.04.2010, 01:48
well i made this
but the problem is when i goto the abandoned air yard to test it it does not work D=
Код:
else if(newkeys & KEY_FIRE) { new Float:x, Float:y, Float:z; if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER) { if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 520) { if((x > -221.8796) && (x < 525.5044) && (y > 2382.287) && (y < 2592.488)) { SetPlayerPos(playerid, x, y, z+40); GivePlayerWeapon(playerid, 11, 1); return 1; } } } }