[Question]How to..
#1

Hi, i need little help with script..

Okay, I made command that when admin calls it it sends him a dialog with cars to spawn...(nothing much)

I was just wondering, is it possible that when some ordinary player enter's car(that admin created) he get message that he can't drive that car...and script removes player from vehicle..??

I mean I know how to remove player and all, but I don't know how to detect that car id...
Reply
#2

pawn Код:
new vehicleid = GetVehicleModel(GetPlayerVehicleID(playerid));
or

pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
Reply
#3

Thanks for quick answer man.. but can you explain a little? I don't understand where should I put that and what to do with that.. -_-

EDIT: Nvm I got it... Thanks dude!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)