Vehicle attach problem
#3

Quote:
Originally Posted by Sascha
Посмотреть сообщение
because there is not default variable called "vehicleid" at the "OnPlayerCommandText" callback...

The server/the script simply doesn't know what "vehicleid" should be, so you need to define it.
you can e.g. use this about your "GetVehicleModel" line:
pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
yeah i have made this and it works perfectly , but it's not possible that they attach the undercover lights to every vehicle they enter ? using GetVehicleModel(vehicleid) ?
Reply


Messages In This Thread
Vehicle attach problem - by Alvin007 - 05.11.2011, 10:16
Re: Vehicle attach problem - by Sascha - 05.11.2011, 11:38
Re : Re: Vehicle attach problem - by Alvin007 - 05.11.2011, 13:03
Re: Vehicle attach problem - by sleepysnowflake - 05.11.2011, 13:10

Forum Jump:


Users browsing this thread: 1 Guest(s)