more classes please help.
#1

hey i have this script cops and robber and i want add more skin but i cant add no more because when i add more a civil will be a cops and a cop skin will be a civil i want add more but not to mess up my cops and robbers onplayerrequest

PHP код:
    AddPlayerClass(2801958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2811958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2821958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2831958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2841958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2881958.37831343.157215.3746269.1425000000); // Police
    
AddPlayerClass(2861958.37831343.157215.3746269.1425000000); // FBI
    
AddPlayerClass(2851958.37831343.157215.3746269.1425000000); // SWAT
    
AddPlayerClass(2871958.37831343.157215.3746269.1425000000); // Army
    
AddPlayerClass(2741958.37831343.157215.3746269.1425000000); // Medic
    
AddPlayerClass(2751958.37831343.157215.3746269.1425000000); // Medic
    
AddPlayerClass(2761958.37831343.157215.3746269.1425000000); // Medic 20
    
AddPlayerClass(71958.37831343.157215.3746269.1425000000); // Civilian 0
    
AddPlayerClass(111958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(191958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(211958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(231958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(281958.37831343.157215.3746269.1425000000); // Civilian 5
    
AddPlayerClass(291958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(461958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(471958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(591958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(981958.37831343.157215.3746269.1425000000); // Civilian 10
    
AddPlayerClass(1011958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(1161958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(1241958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(1861958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(1881958.37831343.157215.3746269.1425000000); // Civilian 15
    
AddPlayerClass(2231958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(2401958.37831343.157215.3746269.1425000000); // Civilian
    
AddPlayerClass(581958.37831343.157215.3746269.1425000000); // Civilian 
script info!

PHP код:
#include <a_samp>
#include <dudb>
#include <CPLoader>
#include <ladmin>
/*x---------------------------------Defining-------------------------------------x*/
//**COLORS*//
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000FFAA
#define blue 0x0000FFAA
#define COLOR_BROWN 0x993300AA
#define COLOR_ORANGE 0xFF9933AA
#define COLOR_CYAN 0x99FFFFAA
#define COLOR_PINK 0xFF66FFAA
#define COLOR_BLACK 0x2C2727AA
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_LEMON 0xDDDD2357
#define COLOR_AQUA 0x7CFC00AA
#define COLOR_WHITEYELLOW 0xFFE87DFF
#define COLOR_BLUEAQUA 0x7E60FFFF
#define COLOR_DARKBLUE 0x15005EFF
#define COLOR_ALIEN 0x90FF87FF
#define COLOR_GOLD 0xB8860BAA
#define KICK_COLOR 0xFF0000FF
#define COLOR_GANGGREEN 0x00FF0096
#define COLOR_BLACK 0x2C2727AA
#define COLOR_SBLUE 0x00BFFFAA
#define WHITE 0xF6F6F6AA
#define GREY 0xC6C6C6AA
#define RED 0xF60000AA
#define COLOR_ERROR 0xF60000AA
#define COLOR_RED 0xAA3333AA
#define LIGHT_BLUE 0x00A4F6AA
#define BLUE 0x0000F6AA
#define DARK_BLUE 0x0000AFAA
#define LIGHT_GREEN 0x00F600AA
#define GREEN 0x00AD00AA
#define DARK_GREEN 0x005000AA
#define YELLOW 0xF6F600AA
#define ORANGE 0xF67F00AA
#define BLACK 0x000000AA
#define COLOR_ROYALBLUE 0x4169FFAA
#define PINK 0xFF6EC7AA
#define SERVER_COLOR 0x85F600AA
#define ERROR 0x990000AA
#define COLOR_MSG 0x00FFFFFF //Color of general messages
#define STUNNED_TIME 4 //The time in seconds the stun lasts
#define ANTISPAM 5 //The minimum allowed time between /taze commands
#define COLOR_KILLED 0x880000FF //The color, when a player gets killed by tazing
#define CIVILIAN 0
#define Medic 1
#define COP 2
#define FBI 3
#define SWAT 4
#define ARMY 5
//--------------Taxi-----------
#define BAJADA_DE_BANDERA 500
#define PRECIO_FICHA 300
#define COLOR_YELLOW 0xFFFF00AA
//-----------------------------
/* ----------HIT COMMAND----------*/
#define COLOR_FOUND 0xFFFF00AA //Color of the message if a hit was found in /hits
#define COLOR_MSG 0x00FFFFFF //Color of general messages
#define ANTISPAM_TIME 5 //The minimum time between /hit commands to prevent spam (in seconds)
/*----------NO NEED TO EDIT FROM HERE----------*/
#define MAX_PLAYERS_ 50
#define SPAWN_GAS_MIN      35
#define SPAWN_GAS_MAX      100
#define MAX_START_TIME     3
#define BAJADA_DE_BANDERA2 500
#define PRECIO_FICHA2 300
#define RegisterName 1
#define LoginName 2
#define SendFormattedMessage(%0,%1,%2) do{new _str[128]; format(_str,128,%2); SendClientMessage(%0,%1,_str);}while(FALSE)
#define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
static gTeam[MAX_PLAYERS];
new 
GPSTimer[MAX_PLAYERS];
new 
bool:HaveGPS[MAX_PLAYERS];
enum aInfo
{
        
aLevel
}
;
new 
AccountInfo[MAX_PLAYERS][aInfo];
new 
RecentlyRobbed[MAX_PLAYERS];
new 
ATMRecentlyRobbed;
new 
DildoRecentlyRobbed;
new 
HallRecentlyRobbed;
new 
RentalRecentlyRobbed;
new 
BankRecentlyRobbed;
new 
BincoRecentlyRobbed;
new 
ZipRecentlyRobbed;
new 
UrbanRecentlyRobbed;
new 
AmmuRecentlyRobbed;
new 
Ammu2RecentlyRobbed;
new 
Ammu3RecentlyRobbed;
new 
Ammu4RecentlyRobbed;
new 
Ammu5RecentlyRobbed;
new 
DrugsRecentlyRobbed;
new 
D4RecentlyRobbed;
new 
CaRecentlyRobbed;
new 
gPlayerUsingLoopingAnim[MAX_PLAYERS];
new 
animation[200];
//BUS
new OnBusAsPassenger[MAX_PLAYERS];
new 
CostoDelViaje2[MAX_PLAYERS];
new 
contador2[MAX_PLAYERS];
new 
playerInMiniMission2[MAX_PLAYERS];
new 
avisado2[MAX_PLAYERS];
new 
caidadeficha2Timer2;
new 
cantidadPasajeros2;
forward terminarMission2(playerid);
forward caidadeficha2();
//
new IsSpawned[MAX_PLAYERS];
new 
SelectBM[MAX_PLAYERS];
new 
PlayerSkin[MAX_PLAYERS];
new 
SelectTM[MAX_PLAYERS];
new 
InTrashMission[MAX_PLAYERS];
new 
time;
new 
Muted[MAX_PLAYERS]; 
Reply


Messages In This Thread
more classes please help. - by UserName31 - 25.06.2012, 02:16
Re: more classes please help. - by Makaveli93 - 25.06.2012, 02:20
Re: more classes please help. - by UserName31 - 25.06.2012, 02:27
Re: more classes please help. - by Makaveli93 - 25.06.2012, 02:37
Re: more classes please help. - by UserName31 - 25.06.2012, 02:41
Re: more classes please help. - by Makaveli93 - 25.06.2012, 03:06
Re: more classes please help. - by UserName31 - 25.06.2012, 03:57
Re: more classes please help. - by UserName31 - 25.06.2012, 19:12

Forum Jump:


Users browsing this thread: 2 Guest(s)