OnGameModeInit:
new bankstring[256];
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i",GetPVarInt(playerid,"Bank"));
StatistikBank = TextDrawCreate(500.000000, 162.000000,bankstring);
TextDrawBackgroundColor(StatistikBank, 255);
TextDrawFont(StatistikBank, 1);
TextDrawLetterSize(StatistikBank, 0.350000, 0.899999);
TextDrawColor(StatistikBank, -1);
TextDrawSetOutline(StatistikBank, 1);
TextDrawSetProportional(StatistikBank, 1);
TextDrawUseBox(StatistikBank, 1);
TextDrawBoxColor(StatistikBank, 0x00000044);
TextDrawTextSize(StatistikBank, 605.000000, 0.000000);
Error:
J:\Chrome Downloads\NsR Script\NsRscript\NsR\NsR\gamemodes\test.pwn(1402) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Zeile:
format(bankstring,sizeof(bankstring),"~g~Bank: ~w~%i",GetPVarInt(playerid,"Bank"));
MfG