who can help me please
#1

hi all
here in my code
PHP код:
CMD:stats(playeridparams[])
{
if(
IsPlayerConnected(playerid))
{
    
StatsShow(playerid,playerid);
    }
return 
1;}
public 
StatsShow(playerid,targedid)
{
new 
PlayerInfo[playerid][Pass];
new 
PlayerInfo[playerid][Cash];
new 
PlayerInfo[playerid][Admin];
new 
PlayerInfo[playerid][Kills];
new 
PlayerInfo[playerid][Deaths];
new 
PlayerInfo[playerid][Xp];
new 
PlayerInfo[playerid][Infect];
new 
PlayerInfo[playerid][Rank];
new 
PlayerInfo[playerid][Mute];
new 
pName[MAX_PLAYER_NAME];
GetPlayerName(targedidpNamesizeof(pName));
new 
message[128];
new 
message2[128];
new 
message3[128];
new 
message4[128];
format (messagesizeof(message), "Player:%s || Password:%i || Cash:%i",pName);
format (message2sizeof(message2), "Admin Level:%i || Kills:%i || Deaths:%i",c);
format (message3sizeof(message3), "XP Points:%i || Infected:%i || Rank:%i",f);
format (message4sizeof(message4), "Muted:%i",);
SendClientMessage(playeridwhite"Player Stats");
SendClientMessage(playeridaquamessage);
SendClientMessage(playeridaquamessage2);
SendClientMessage(playeridaquamessage3);
SendClientMessage(playeridaquamessage4);
return 
1;} 
How can i make this then type /stats to show me text no number i have 3 rangs Soldier, General, Marshal how can man to show them
Reply


Messages In This Thread
who can help me please - by rumen98 - 05.09.2012, 18:34
Re: who can help me please - by [FAT]Klabauter[LST] - 06.09.2012, 05:05

Forum Jump:


Users browsing this thread: 1 Guest(s)