30.05.2012, 21:19
Hey guys, I need help, first I have a error saying this.
Line 2009 is this code:
I don't get this problem, I need help. Didn't I do it correctly?
Full Code
pawn Код:
C:\Users\Michael\Desktop\samp03e_svr_win32\gamemodes\test.pwn(2009) : warning 204: symbol is assigned a value that is never used: "cash"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
pawn Код:
new cash = PlayerInfo[playerid][pCash];
Full Code
pawn Код:
CMD:stats(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
new cash = PlayerInfo[playerid][pCash];
new level = GetPlayerScore(playerid);
new name[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME];
SendClientMessage(playerid, COLOR_LIME, "_______________________________________________");
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "[Account]: Name: [%s] Level: [%i]",name, level);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
return 1;
}