Disable CarSpawner /v if interior > 0 ?!
#5

Or you can also use: GetPlayerInterior(playerid)

pawn Код:
if(GetPlayerInterior(playerid) != 0) return SendClientMessage(playerid,RED, "You can't spawn a vehicle inside houses / hotels / ..."); // xD
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)