Command not work!
#2

Do you want get model of vehicle or id of vehicle? I think model so try this:
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(PlayerID)) == /*Model ID*/)
{
    //Something
}
And by the way, you have error in this:
pawn Код:
CMD:teeni(playerid, cmdtext)
Change this to:
pawn Код:
CMD:teeni(playerid, cmdtext[])
Reply


Messages In This Thread
Command not work! - by finelaq - 14.03.2014, 13:13
Re: Command not work! - by Ardenshy - 14.03.2014, 13:16
Re: Command not work! - by finelaq - 14.03.2014, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)