How would i do this?
#1

How would i do this

If i added at the top of my script

pawn Код:
new Torran;
And then in OnGameModeInit put something like Torran[1]
So like i dont have to use new laods of times,
How would i do this?
Reply
#2

new torran[1];
or new torran[9]; if you want to have 10 torrans.
If this is what you mean.
Reply
#3

What are you declaring it for? Do you want to hold a string or an int or what?
Reply
#4

If you want to eg. add vehicles with that variable, use:

pawn Код:
new Torran[9]; //10 Pieces of Torrans

Torran[1] = AddStaticVehicle(.......);
Torran[2] = AddStaticVehicle(.......);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)