05.07.2012, 15:13
[Pedido] Ajuda no /rg
05.07.2012, 15:15
05.07.2012, 15:15
manda o code pra alguem tentar de ajudar. se nгo fica dificil
05.07.2012, 15:17
posta o cуdigo й muito simples de arrumar isso
05.07.2012, 15:17
pawn Код:
//-------------------------------[Stats]--------------------------------------------------------------------------
if (strcmp(cmd, "/rg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (gPlayerLogged[playerid] != 0)
{
ShowStats(playerid,playerid);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo estб logado !");
}
}
return true;
}
//-------------------------------[Mostrar RG]--------------------------------------------------------------------------
if (strcmp(cmd, "/mostrarrg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USE: /mostrarrg [ID/Nome]");
return true;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
ShowStats(giveplayerid,playerid);
format(string, sizeof(string), "* %s mostrou o seu rg para %s.",PlayerName(playerid),PlayerName(giveplayerid));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}
return true;
}
05.07.2012, 15:19
use [pawn] e coloque o cуdigo aqui. [*/pawn] sem o *. E esse nгo й o rg esse й sу o comando
05.07.2012, 15:19
no caso seria a public showstats
05.07.2012, 15:19
Poste a stock ShowStats tambem
pawn Код:
//-------------------------------[Stats]--------------------------------------------------------------------------
if (strcmp(cmd, "/rg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (!gPlayerLogged[playerid]) return SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo estб logado !");
ShowStats(playerid,playerid);
}
return true;
}
//-------------------------------[Mostrar RG]--------------------------------------------------------------------------
if (strcmp(cmd, "/mostrarrg", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GRAD1, "USE: /mostrarrg [ID/Nome]");
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
ShowStats(giveplayerid,playerid);
format(string, sizeof(string), "* %s mostrou o seu rg para %s.",PlayerName(playerid),PlayerName(giveplayerid) );
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
}
}
return true;
}
05.07.2012, 15:19
Pelo que sei nгo й isso
Acho que й uma stock
''ShowStats''
@Edit
A galera do fуrum ta ninja LOL
Acho que й uma stock
''ShowStats''
@Edit
A galera do fуrum ta ninja LOL
05.07.2012, 15:21
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)