22.03.2012, 14:42
Quote:
Serб q...
pawn Код:
|
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);
}
@Edit Renumerei todas as gangs , cores e defines , Continua dizendo que spawna com a dos Bozos =S