new Text:Zero[MAX_PLAYERS];
Zero[playerid] = TextDrawCreate(42.000000, 317.000000, "00000000");
TextDrawBackgroundColor(Zero[playerid], 255);
TextDrawFont(Zero[playerid], 3);
TextDrawLetterSize(Zero[playerid], 0.539999, 2.299999);
TextDrawColor(Zero[playerid], -86501633);
TextDrawSetOutline(Zero[playerid], 1);
TextDrawSetProportional(Zero[playerid], 1);
D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(189) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(190) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(191) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(192) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(193) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(194) : error 017: undefined symbol "playerid" D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(195) : error 017: undefined symbol "playerid" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
Where did you write that code? In a function? Put all the code. You might have wrote that in a function where you don't pass playerid as a parameter
|
You can't do that on OnGameModeInit, it's not the callback's function
|
D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(189) : error 033: array must be indexed (variable "Zero") D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(190) : error 035: argument type mismatch (argument 1) D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(191) : error 035: argument type mismatch (argument 1) D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(192) : error 035: argument type mismatch (argument 1) D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(193) : error 035: argument type mismatch (argument 1) D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(194) : error 035: argument type mismatch (argument 1) D:\SWAT\samp03dsvr_win32(1)\gamemodes\Reg.pwn(195) : error 035: argument type mismatch (argument 1) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.