10.01.2014, 22:11
Hello iv Admin script and GM , in my GM there are TextDraw which shows the Stats of players by the Script , which meaning that its located with admin script "pInfo" , i was using lux admin and now another system i want locate stats to gm.
Iv This lines in GM
I want change the functions which are in red colour my new admin system:
I got now this "error 017: undefined symbol "pFile""
Iv This lines in GM
Код:
new PlayerStatusBar[256]; format(PlayerStatusBar,sizeof(PlayerStatusBar),"______________~G~Score: %d ~W~Ping: %d ~y~Weapon: %s ~P~State: %s ~y~~h~Last Killed By: %s ~b~~h~~b~Kills: %d ~R~Deaths: %d ~G~~h~Ratio: %0.2f",GetPlayerScore(playerid),GetPlayerPing(playerid),WeapName,State[playerid],WhoKilledYou[playerid],TotalKills[playerid],TotalDeaths[playerid],Float:TotalKills[playerid]/Float:TotalDeaths[playerid]); PlayerTextDrawSetString(playerid,PlayerStatus[playerid],PlayerStatusBar);
Код:
pInfo[player1][Kills], pInfo[player1][Deaths], Float:pInfo[player1][Kills]/Float:pInfo[player1][Deaths]