Car spawner help
#2

Quote:
Originally Posted by tooq
Посмотреть сообщение
hi guys i maded a car spawner with a dialog it works perfect but i need to add a little thing
when i player dp /v the dialog shows p but i need to add when a player do /v and the car name direclty without showing the dialog but i want to keep the dialog to
Use sscanf for example and if there was no parameter given, show the dialog. If there was one, try to get the vehicle id by name with the help of e.g. an array and then directly create that vehicle if a match was found.

I hope this helps.
Reply


Messages In This Thread
Car spawner help - by tooq - 13.05.2014, 14:41
Re: Car spawner help - by Madd92 - 13.05.2014, 15:15

Forum Jump:


Users browsing this thread: 2 Guest(s)