SA-MP Forums Archive
DELETED - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: DELETED (/showthread.php?tid=625670)



DELETED - vernz - 04.01.2017

DELETED


Re: DELETED - IceCube! - 04.01.2017

This is simple:
pawn Код:
enum Enum_Name
{
     Value1,
     Sring1[200],
     Value2
};
new EnumArray[MAX_PLAYERS][Enum_Name];

//Usage
EnumArray[playerid][Value1];
Just make an enum your happy with, then name it. Make an array like above but use the information logical to you maybe MAX_VEHICLES and eVeh.

Then your usage might change to something logical like below:

pawn Код:
ServerVehs[vehicleid][vPlate];
If theres anything you don't get just ask.