simple show player money with textdraw will show player money to all !!!!LOL
#8

pawn Код:
// On the command
TextDrawSetString(invtextdraw2,string);
pawn Код:
// On Player Connect
invtextdraw2[playerid] = TextDrawCreate(68.750000,
TextDrawLetterSize(invtextdraw2[playerid] , 0.234374
TextDrawAlignment(invtextdraw2[playerid] , 1);      
TextDrawColor(invtextdraw2[playerid] , -1);        
TextDrawSetShadow(invtextdraw2[playerid] , 0);      
TextDrawSetOutline(invtextdraw2[playerid] , 1);    
TextDrawBackgroundColor(invtextdraw2[playerid] , 51)
TextDrawFont(invtextdraw2[playerid] , 1);          
TextDrawSetProportional(invtextdraw2[playerid] , 1);
pawn Код:
// Top of script
new Text:invtextdraw2[MAX_PLAYERS];
As Hudson said. "[playerid]" is not used in the TextDrawSetString, that's why it shows that error.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)