21.07.2012, 18:09
Galera eu to pensando em criar um server e to editando o LVDM que e um gm de dm bem basico, sу que to encontrando um defeito ... o gm compila normal porem qualquer comando que eu digito aparece a ajuda que й o primeiro comando declarado no gamemode. vou dar um exemplo:
declarei na public onplayercomman...
if(.../Ajuda...
sendclient...
return 1;
if(.../regras...
sendclient...
return1;
ae eu vo no server e uso /Regras e ao invez de aparecer o /Regras aparece o /Ajuda D:
OBS: GM COMPILANDO NORMALMENTE
CODE:
declarei na public onplayercomman...
if(.../Ajuda...
sendclient...
return 1;
if(.../regras...
sendclient...
return1;
ae eu vo no server e uso /Regras e ao invez de aparecer o /Regras aparece o /Ajuda D:
OBS: GM COMPILANDO NORMALMENTE
CODE:
pawn Код:
#include <a_samp>
#include <core>
#include <float>
#pragma tabsize 0
#define Cor_Server 0x00B366FF
#define Cinza 0xAFAFAFAA
#define Verde 0x33AA33AA
#define Vermelho 0xAA3333AA
#define Amarelo 0xFFFF00AA
#define Branco 0xFFFFFFAA
#define GranaInicial 50000
#define INACTIVE_PLAYER_ID 255
#define GIVECASH_DELAY 5000
#define NUMVALUES 4
forward AtualizacaoGrana();
forward Givecashdelaytimer(playerid);
forward SetPlayerRandomSpawn(playerid);
forward SetupPlayerForClassSelection(playerid);
forward GameModeExitFunc();
new CashScoreOld;
new iSpawnSet[MAX_PLAYERS];
new Float:gRandomPlayerSpawns[2][3] = {
{1513.2452,-1708.0421,14.0469},
{1508.7001,-1711.5371,14.0469}
};
new Float:gCopPlayerSpawns[2][3] = {
{2297.1064,2452.0115,10.8203},
{2297.0452,2468.6743,10.8203}
};
new playerson[MAX_PLAYERS];
new gLastGaveCash[MAX_PLAYERS];
main()
{
print("\n----------------------------------");
print(" ~ NewDM Brasil, Feito por: Guilherme/Kratos_xD ");
print(" ~ Base LVDM Feito por: Jax");
print("----------------------------------\n");
}
public AtualizacaoGrana()
{
new CashScore;
new name[MAX_PLAYER_NAME];
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
GetPlayerName(i, name, sizeof(name));
CashScore = GetPlayerMoney(i);
SetPlayerScore(i, CashScore);
if (CashScore > CashScoreOld)
{
CashScoreOld = CashScore;
}
}
}
}
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"~r~New~n~~w~DM~n~~y~Bra~g~sil",5000,5);
SendClientMessage(playerid, Branco, "{00B366}•••{FFFFFF} Bem Vindo ao {00B366}NewDM Brasil{FFFFFF}, Dъvidas? use /Ajuda.");
playerson[playerid]++;
gLastGaveCash[playerid] = GetTickCount();
return 1;
}
public OnPlayerDisconnect(playerid)
{
playerson[playerid]--;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new cmd[256];
new giveplayerid, moneys;
if(strcmp(cmd, "/ajuda", true, 10) == 0) {
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Ajuda {00B366}~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, Branco, "~ /Objetivo - Para saber o objetivo deste gamemode.");
SendClientMessage(playerid, Branco, "~ /Comandos - Para saber os comandos do server.");
SendClientMessage(playerid, Branco, "~ /Teles - Para saber os Teleportes do server.");
SendClientMessage(playerid, Branco, "~ /Regras - Para saber as regras do server.");
SendClientMessage(playerid, Branco, "~ /Creditos - Para saber quem criou este gamemode.");
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Ajuda {00B366}~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
if(strcmp(cmd, "/objetivo", true) == 0) {
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Objetivo {00B366}~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, Branco, "~ Neste Gamemode o principal objetivo й a sua diversгo.");
SendClientMessage(playerid, Branco, "~ voce pode matar, apostar corridas, pular de paraquedas e etc..");
SendClientMessage(playerid, Branco, "~ espero que goste do server, se gostar favorite o sv adicioando o nos seus favoritos.");
SendClientMessage(playerid, Branco, "~ IP: embreve:7777 .");
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Objetivo {00B366}~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
if(strcmp(cmd, "/Teles", true) == 0) {
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Teleportes {00B366}~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, Branco, "~ Teleportes em Construзгo.");
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Teleportes {00B366}~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
if(strcmp(cmd, "/Regras", true) == 0) {
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Regras {00B366}~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, Branco, "~ 1 - Nгo Use Cheat,Hacks,Xiters.");
SendClientMessage(playerid, Branco, "~ 2 - Nгo Use Mods que te Beneficie");
SendClientMessage(playerid, Branco, "~ 3 - Nгo Faзa Drive-By (Matar de dentro de um veiculo)");
SendClientMessage(playerid, Branco, "~ 4 - Nгo Ofenda Jogadores/Admins .");
SendClientMessage(playerid, Branco, "~ 5 - Nгo Faзa Spawn-Kill (Matar aonde os Players Nascem).");
SendClientMessage(playerid, Branco, "~ 6 - Nгo se Teleporte em Batalhas.");
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Regras {00B366}~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
if(strcmp(cmd, "/Comandos", true) == 0) {
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~{FFFFFF} Comandos {00B366}~~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, Branco, "~ Comandos em Construзгo.");
SendClientMessage(playerid, Cor_Server, "~~~~~~~~~~~~~~~~~~~~~~~~ {FFFFFF}Comandos{00B366} ~~~~~~~~~~~~~~~~~~~~~");
return 1;
}
if(strcmp(cmd, "/transferir", true) == 0) {
new tmp[256];
if(!strlen(tmp)) {
SendClientMessage(playerid, Vermelho, "|x| Use: /Transferir [id] [grana]");
return 1;
}
giveplayerid = strval(tmp);
if(!strlen(tmp)) {
SendClientMessage(playerid, Vermelho, "|x| Use: /Transferir [id] [grana]");
return 1;
}
moneys = strval(tmp);
if (IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
playermoney = GetPlayerMoney(playerid);
if (moneys > 0 && playermoney >= moneys) {
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
format(string, sizeof(string), "Vocк transferiu ao %s(ID: %d), $%d.", giveplayer,giveplayerid, moneys);
SendClientMessage(playerid, Amarelo, string);
format(string, sizeof(string), "Vocк recebeu $%d de %s(ID: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, Amarelo, string);
printf("|INFO| %s(ID:%d) Transferiu %d para %s(ID:%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
}
else {
SendClientMessage(playerid, Vermelho, "|x| Quantia Invбlida.");
}
}
else {
format(string, sizeof(string), "|x| ID: %d estб Offline.", giveplayerid);
SendClientMessage(playerid, Vermelho, string);
}
return 1;
}
return 0;
}
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, GranaInicial);
SetPlayerInterior(playerid,0);
SetPlayerRandomSpawn(playerid);
return 1;
}
public SetPlayerRandomSpawn(playerid)
{
if (iSpawnSet[playerid] == 1)
{
new rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]);
SetPlayerFacingAngle(playerid, 270.0);
}
else if (iSpawnSet[playerid] == 0)
{
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, gRandomPlayerSpawns[rand][0], gRandomPlayerSpawns[rand][1], gRandomPlayerSpawns[rand][2]);
}
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
new playercash;
if(killerid == INVALID_PLAYER_ID) {
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
ResetPlayerMoney(playerid);
} else {
SendDeathMessage(killerid,playerid,reason);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
playercash = GetPlayerMoney(playerid);
if (playercash > 0) {
GivePlayerMoney(killerid, playercash);
ResetPlayerMoney(playerid);
}
else
{
}
}
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
iSpawnSet[playerid] = 0;
SetupPlayerForClassSelection(playerid);
return 1;
}
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1523.6948,-1703.2844,13.5469);
SetPlayerCameraPos(playerid,1514.8894,-1709.1460,14.0469);
SetPlayerCameraLookAt(playerid,1515.6716,-1708.5304,14.0469);
}
public GameModeExitFunc()
{
GameModeExit();
}
public OnGameModeInit()
{
SetGameModeText("[NDB-DM]");
ShowPlayerMarkers(1);
ShowNameTags(1);
EnableStuntBonusForAll(0);
// Skins
AddPlayerClass(0,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(266,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(267,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(268,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(269,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(270,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(271,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(272,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(280,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(281,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(282,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(283,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(284,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(285,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(286,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(287,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
AddPlayerClass(255,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(256,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(257,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(258,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(259,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(260,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(261,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(262,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(263,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(264,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(274,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(275,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(276,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(1,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(2,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(290,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(291,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(292,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(293,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(294,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(295,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(296,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(297,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(298,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(299,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(277,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(278,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(279,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(288,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(47,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(48,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(49,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(50,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(51,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(52,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(53,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(54,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(55,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(56,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(57,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(58,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(59,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(60,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(61,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(62,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(63,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(64,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(66,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(67,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(68,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(69,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(70,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(71,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(72,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(73,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(75,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(76,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(78,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(79,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(80,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(81,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(82,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(83,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(84,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(85,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(87,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(88,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(89,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(91,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(92,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(93,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(95,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(96,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(97,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(98,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(99,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(100,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(101,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(102,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(103,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(104,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(105,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(106,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(107,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(108,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(109,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(110,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(111,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(112,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(113,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(114,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(115,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(116,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(117,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(118,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(120,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(121,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(122,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(123,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(124,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(125,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(126,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(127,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(128,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(129,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(131,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(133,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(134,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(135,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(136,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(137,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(138,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(139,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(140,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(141,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(142,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(143,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(144,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(145,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(146,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(147,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(148,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(150,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(151,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(152,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(153,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(154,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(155,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(156,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(157,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(158,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(159,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(160,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(161,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(162,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(163,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(164,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(165,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(166,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(167,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(168,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(169,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(170,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(171,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(172,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(173,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(174,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(175,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(176,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(177,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(178,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(179,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(180,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(181,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(182,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(183,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(184,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(185,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(186,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(187,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(188,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(189,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(190,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(191,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(192,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(193,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(194,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(195,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(196,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(197,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(198,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(199,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(200,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(201,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(202,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(203,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(204,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(205,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(206,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(207,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(209,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(210,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(211,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(212,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(213,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(214,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(215,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(216,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(217,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(218,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(219,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(220,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(221,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(222,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(223,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(224,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(225,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(226,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(227,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(228,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(229,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(230,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(231,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(232,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(233,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(234,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(235,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(236,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(237,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(238,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(239,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(240,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(241,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(242,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(243,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(244,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(245,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(246,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(247,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(248,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(249,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(250,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(251,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
AddPlayerClass(253,1513.2452,-1708.0421,14.0469,126.2436,0,0,24,300,-1,-1);
SetTimer("AtualizacaoGrana", 1000, 1);
return 1;
}