SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/09/2013, 04:17 PM   #1
Hade.
Huge Clucker
 
Hade.'s Avatar
 
Join Date: Oct 2012
Location: Tallinn, Estonia
Posts: 210
Reputation: 16
Default Skins

Can someone help me on how can i get all the skins on my server without addind the addplayerclasses under ongamemode int.
__________________
Hade. is offline   Reply With Quote
Old 04/09/2013, 04:23 PM   #2
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,844
Reputation: 1399
Default Re: Skins

Unfortunately, you cannot. But you can use:
pawn Code:
public OnGameModeInit( )
{
    for( new s = 0; s < 300; s++ ) if( s != 74 ) AddPlayerClass( s, /* CHANGE THEM.. NOT THE "AddPlayerClass( s, " BUT THE REST */spawn_x, spawn_y, spawn_z, z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo );
    return 1;
}

For less lines, if that bothers you.
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Old 04/09/2013, 04:26 PM   #3
Hade.
Huge Clucker
 
Hade.'s Avatar
 
Join Date: Oct 2012
Location: Tallinn, Estonia
Posts: 210
Reputation: 16
Default Re: Skins

I ment something like that..

The point was that i wouldnt have to write all of the 299 lines
__________________
Hade. is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Skins NuggaN Scripting Help 1 28/02/2013 06:57 PM
help me skins [A]ndrei Scripting Help 32 27/06/2012 07:04 AM
[Ajuda] Seleção de Skins, não aparece as skins!!! wL ' Português/Portuguese 4 21/04/2011 03:13 AM
how to add skins iReaLCFG Help Archive 16 11/03/2011 07:43 PM


All times are GMT. The time now is 09:42 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.