stock function or public
#1

I want to know that how to make stock or public function for player, that adds vehicle into database and also creates that same vehicle ingame.

Im using mysql.

Something like this:
stock CreateVehicleEx(playerid, Name, Price, Owner)

And it'll create vehicle ingame, also will add vehicle into 'cars' database
please help
Reply
#2

Well, I'm sure that it's not a callback, so you would use the 'stock function', since 'CreateVehicleEx' would be a function.
Reply
#3

Well, function then.

Like If i use command /sultan, then it 'll make IG car and into database
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)