25.05.2013, 05:05
When I type /stats it comes out
COLOR_GREEN line
COLOR_GREEN line
and below of that,, it says that the cmd bla bla bla use /help
but i got cmdtats and others
this is showstats...
ShowStats(playerid,targetid)
{
if(IsPlayerConnected(targetid)) {
SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __________________________________________________ ____________");
new cash = GetPlayerCash(targetid);
new sext[16], std[20], employer[64], rank[64], division[64], jtext2[20], jtext[20], pnumber[20], facfam[20];
if(PlayerInfo[targetid][pPnumber] == 0) pnumber = "None"; else format(pnumber, sizeof(pnumber), "%d", PlayerInfo[targetid][pPnumber]);
if(PlayerInfo[targetid][pSex] == 1) { sext = "Male"; } else { sext = "Female"; }
SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __________________________________________________ ____________");
and this is the cmd thingy
CMDtats(playerid, params[]) {
if (gPlayerLogged{playerid} != 0) {
ShowStats(playerid,playerid);
}
return 1;
}
help me please
COLOR_GREEN line
COLOR_GREEN line
and below of that,, it says that the cmd bla bla bla use /help
but i got cmdtats and others
this is showstats...
ShowStats(playerid,targetid)
{
if(IsPlayerConnected(targetid)) {
SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __________________________________________________ ____________");
new cash = GetPlayerCash(targetid);
new sext[16], std[20], employer[64], rank[64], division[64], jtext2[20], jtext[20], pnumber[20], facfam[20];
if(PlayerInfo[targetid][pPnumber] == 0) pnumber = "None"; else format(pnumber, sizeof(pnumber), "%d", PlayerInfo[targetid][pPnumber]);
if(PlayerInfo[targetid][pSex] == 1) { sext = "Male"; } else { sext = "Female"; }
SendClientMessageEx(playerid, COLOR_GREEN,"_____________________________________ __________________________________________________ ____________");
and this is the cmd thingy
CMDtats(playerid, params[]) {
if (gPlayerLogged{playerid} != 0) {
ShowStats(playerid,playerid);
}
return 1;
}
help me please