22.03.2012, 01:43
Uma Duvida que eu to tendo , o GM Tem Limite de Gang ? porque criei uma gang nova , mais diz que nasce com a primeira lб quando spawna. :S
//Cor da Gang:
#define COR_23 0xB2686CFF
//Definindo Gang:
#define TAXISTAS 23
//new Para a Gang e CP:
new Taxistas;
new cptaxistas;
//Skins Definidas :
AddPlayerClassEx(23,171,1754.3317,-1894.2625,13.5570,270.2638,0,0,0,0,0,0); // Taxistas1
AddPlayerClassEx(23,172,1754.7299,-1894.2607,13.5569,270.2638,0,0,0,0,0,0); // Taxistas2
// GangZone e CP:
Taxistas = GangZoneCreate(1622.964, -1989.786, 1851.135, -1835.824);
cptaxistas = CPS_AddCheckpoint(1765.8430,-1921.4530,13.5657,2.0,80);
// Skins do RequestClass:
else if(classid == 54)
{
GameTextForPlayer(playerid,"~r~] ~w~Gang dos Taxistas ~r~]",5000,5);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,1,1,1,0);
}
else if(classid == 55)
{
GameTextForPlayer(playerid,"~r~] ~w~Gang dos Taxistas ~r~]",5000,5);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,1,1,1,0);
}
//RequestSpawn:
else if(Gang[playerid] == TAXISTAS)
{
SetPlayerTeam(playerid, 22);
SetPlayerInterior(playerid,0);
SetPlayerColor(playerid, 0xB2686CFF);
}
//GZ:
GangZoneShowForPlayer(playerid, Taxistas, gzcolor[22]);
//Mensagem:
else if(Gang[playerid] == TAXISTAS)
{
SetPlayerTeam(playerid, 22);
new string[256];
format(string, sizeof(string),"{00FF7F}[INFO]:{FFFFFF} %s Vai jogar com a Gang Dos: {00FF7F}[ Taxistas ]", GPN(playerid));
SendClientMessageToAll(0xFFFFFFFF, string);
}
//Definindo Gang:
#define TAXISTAS 23
//team..
SetPlayerTeam(playerid, 22); //< 22 ta certo aki? ^^
Serб q...
pawn Код:
|
//Cor da Gang:
#define COR_1 0x00F600AA
//Definindo Gang:
#define BOZO 1
//new Para a Gang e CP:
new Bozo;
new cpbozo;
//Skins Definidas :
AddPlayerClassEx(1,264,1072.3247,-304.2531,73.9922,176.9403,0,0,0,0,0,0);// Bozo
// GangZone e CP:
Bozo = GangZoneCreate(969.2637, -420.4035, 1109.398, -268.5911);
cpbozo = CPS_AddCheckpoint(1045.4899,-301.3049,77.3594,2.0,80);
// Skins do RequestClass:
if(classid == 0)
{
Gang[playerid] = BOZO;
GameTextForPlayer(playerid,"~r~] ~w~Gang dos Bozos James ~r~]",5000,5);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,1,1,1,0);
}
//RequestSpawn:
if(Gang[playerid] == BOZO)
{
SetPlayerTeam(playerid, 0);
SetPlayerInterior(playerid,0);
SetPlayerColor(playerid, 0x00F600AA);
}
//GZ:
GangZoneShowForPlayer(playerid, Bozo, gzcolor[0]);
//Mensagem:
if(Gang[playerid] == BOZO)
{
SetPlayerTeam(playerid, 0);
new string[256];
format(string, sizeof(string),"{00FF7F}[INFO]:{FFFFFF} %s Vai jogar com a Gang Dos: {00FF7F}[ Bozos ]", GPN(playerid));
SendClientMessageToAll(0xFFFFFFFF, string);
}
SetPlayerTeam(playerid, 22);
#define TAXISTAS 23
#define BOZO 1
SetPlayerTeam(playerid, 0);