20.05.2012, 15:44
Hello.I got problem with GetPlayerName.
What is problem here
ERRORS:
pawn Code:
GetPlayerName(playerid, pName, sizeof(pName));
GetPlayerName(playerid, pName[playerid2], sizeof(pName[playerid2]));
ERRORS:
Code:
D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(195) : error 048: array dimensions do not match D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(196) : error 001: expected token: "]", but found "-identifier-" D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(196) : warning 215: expression has no effect D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(196) : error 001: expected token: ";", but found "]" D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(196) : error 029: invalid expression, assumed zero D:\samp03dsvr_win32(1)\filterscripts\AdminScript.pwn(196) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.