30.11.2010, 05:25
didnt thought I need to do it..
Oh yes I forgot to say,you can enter building with car,so to prevent that you just need to add IsPlayerInAnyVehicle,RemovePlayerFromVehicle and SetPlayerPos
Oh yes I forgot to say,you can enter building with car,so to prevent that you just need to add IsPlayerInAnyVehicle,RemovePlayerFromVehicle and SetPlayerPos
Code:
if(dialogid == 1 && response) { SetPlayerPos(playerid,x,y,z); }