if (strcmp(cmd, "/rg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
ShowStats(playerid,playerid);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Abre sua carteira e confere o Rg.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta logado !");
}
}
return 1;
}
if (strcmp(cmd, "/rg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
if (PoderosoInfo[playerid][PAbriuRG] = 0)
{
ShowStats(playerid,playerid);
PoderosoInfo[playerid][PAbriuRG] = 1
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Abre sua carteira e confere o Rg.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if (PoderosoInfo[playerid][PAbriuRG] = 1)
{
TextDrawDestroy(playerid,LRGBox[playerid]);
TextDrawDestroy(playerid,LRGBox2[playerid]);
TextDrawDestroy(playerid,LRGBox3[playerid]);
TextDrawDestroy(playerid,LRGBox4[playerid]);
TextDrawDestroy(playerid,LRGBox5[playerid]);
TextDrawDestroy(playerid,LRGBox6[playerid]);
TextDrawDestroy(playerid,LRGBox7[playerid]);
TextDrawDestroy(playerid,LRGBox8[playerid]);
TextDrawDestroy(playerid,NickRGBox[playerid]);
PoderosoInfo[playerid][PAbriuRG] = 0
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Fechou sua carteira.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta logado !");
}
} return 1;
}
if (strcmp(cmd, "/rg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
if (PoderosoInfo[playerid][PAbriuRG] = 0)
{
ShowStats(playerid,playerid);
PoderosoInfo[playerid][PAbriuRG] = 1
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Abre sua carteira e confere o Rg.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
else if (PoderosoInfo[playerid][PAbriuRG] = 1)
{
TextDrawHideForPlayer(playerid,LRGBox[playerid]);
TextDrawHideForPlayer(playerid,LRGBox2[playerid]);
TextDrawHideForPlayer(playerid,LRGBox3[playerid]);
TextDrawHideForPlayer(playerid,LRGBox4[playerid]);
TextDrawHideForPlayer(playerid,LRGBox5[playerid]);
TextDrawHideForPlayer(playerid,LRGBox6[playerid]);
TextDrawHideForPlayer(playerid,LRGBox7[playerid]);
TextDrawHideForPlayer(playerid,LRGBox8[playerid]);
TextDrawHideForPlayer(playerid,NickRGBox[playerid]);
PoderosoInfo[playerid][PAbriuRG] = 0
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Fechou sua carteira.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta logado !");
}
} return 1;
C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13075) : warning 211: possibly unintended assignment C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13079) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13083) : warning 211: possibly unintended assignment C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13085) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13085) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13086) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13086) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13087) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13087) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13088) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13088) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13089) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13089) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13090) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13090) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13091) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13091) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13092) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13092) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13093) : warning 213: tag mismatch C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13093) : warning 202: number of arguments does not match definition C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(13095) : error 001: expected token: ";", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(766) : error 004: function "SaveAdmin" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(772) : error 004: function "SaveCars" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2171) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2200) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2392) : error 004: function "BoxdaGuerra" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2497) : error 004: function "DetectorProx" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2572) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2576) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2588) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2592) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2596) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2600) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2604) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2608) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2612) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2624) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2628) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2632) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2636) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2640) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2652) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2656) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2660) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2672) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(2676) : error 004: function "PlayerToPoint" is not implemented C:\Documents and Settings\A\Ambiente de trabalho\Leep\SAMP~GTA\Server Life Is Good\gamemodes\LG26.pwn(3555) : error 017: undefined symbol "GivePlayerMoneyEx" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
}
//-------------------------------[Sair /rg by: Most_Wanted]--------------------------------------------------------------------------
if (strcmp(cmd, "/sairrg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
TextDrawHideForPlayer(playerid,LRGBox[playerid]);
TextDrawHideForPlayer(playerid,LRGBox2[playerid]);
TextDrawHideForPlayer(playerid,LRGBox3[playerid]);
TextDrawHideForPlayer(playerid,LRGBox4[playerid]);
TextDrawHideForPlayer(playerid,LRGBox5[playerid]);
TextDrawHideForPlayer(playerid,LRGBox6[playerid]);
TextDrawHideForPlayer(playerid,LRGBox7[playerid]);
TextDrawHideForPlayer(playerid,LRGBox8[playerid]);
TextDrawHideForPlayer(playerid,NickRGBox[playerid]);
PoderosoInfo[playerid][PAbriuRG] = 0;
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo esta logado !");
}
}
return 1;
if (PoderosoInfo[playerid][PAbriuRG] == 0)
else if (PoderosoInfo[playerid][PAbriuRG] == 1)
EsteItemEh = AEste;
Os dois fizeram o mesmo erro. Quando se usa o argumento 'if', vocк compara dois itens, por isso, quando quer se checar se dois itens sгo iguais, nгo se usa sу um '=', se usa dois:
pawn Код:
pawn Код:
|
Mano vou te passar assim olha o /rg deixa normal para abrir como estava!!
e faz assim um novo comando: pawn Код:
|