15.06.2010, 20:44
Hello, i made a textdraw for under the money that the player have, the
textdraw displays how much dollar the player has in the bank. I have 2
questions now.
1. Under what shall i place it? (At the moment, i have it under OnPlayerUpdate((This makes the Game slow)).)
2. Why do i get this error for that the symbol is not used? :
Error :
...
textdraw displays how much dollar the player has in the bank. I have 2
questions now.
1. Under what shall i place it? (At the moment, i have it under OnPlayerUpdate((This makes the Game slow)).)
2. Why do i get this error for that the symbol is not used? :
Quote:
public OnPlayerUpdate(playerid) { new string14[100]; new bank = PlayerInfo[playerid][pBank]; format(string14,sizeof(string14),"$%d", bank); Textdraw4 = TextDrawCreate(498.000000, 97.000000, string14); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 3); TextDrawLetterSize(Textdraw4, 0.589999, 2.299999); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); TextDrawShowForPlayer(playerid, Textdraw4); return 1; } |
Quote:
C:\Users\Ihsan\Desktop\eSports Gaming\gamemodes\eSportsGamingRP.pwn(1579) : warning 204: symbol is assigned a value that is never used: "bank" |