Bicycles problem. Variables
#1

Variable of a vehicle
Well, my problem is, that when u rent a bicycle, you can change it to another, i want that you just can drive the main bicycle that you rent.

Picture
As you can see, i am in another bicycle, isnt the same that i rent



Another Explain


I wanna get an information for an a variable an use it in all the Gamemode.

Example

pawn Код:
public Function1(playerid)
{
 new Car= GetPlayerVehicleID(playerid);
 DestroyVehicle(Car);
}
... this allow to use the variable car just in the public FUNCTION 1.

I wanna save that variable and use it in anothers publics, stocks, etc.
Thanks for help guys , and sorry for my bad english
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)