GetSkinName - 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: GetSkinName (
/showthread.php?tid=497419)
Deleted -
LustcheR - 26.02.2014
Deleted
Re: GetSkinName -
CroFoxX256 - 26.02.2014
I think it can't be shorter, you can just delete some skins from the list to make it shorter...
Re: GetSkinName -
LustcheR - 26.02.2014
Quote:
Originally Posted by CroFoxX256
I think it can't be shorter, you can just delete some skins from the list to make it shorter...
|
I think use a loop or string but I do not know how.
I used to have such a.
Re: GetSkinName -
iOxide - 26.02.2014
pawn Код:
enum Skins
{
SkinName[50],
SkinModel
}
new PlayerSkin[][Skins] =
{
{"CJ", 0},
{"Truth", 1} // like that add more skin models and name
};
This may help, i am using the same stuffs for skin names. But it will still be a long code as the Skin IDs are 0 to 299 so you must take a name from each IDs and there will be 299 lines for sure. Like the stock you have shown.
Re: GetSkinName -
LustcheR - 26.02.2014
Quote:
Originally Posted by iOxide
pawn Код:
enum Skins { SkinName[50], SkinModel }
new PlayerSkin[][Skins] = { {"CJ", 0}, {"Truth", 1} // like that add more skin models and name };
This may help, i am using the same stuffs for skin names.
|
I'm not going to go now 300 skins.
It's also too long.