07.12.2009, 06:19
iv still got the same problem and i also have this problem
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(481) : error 017: undefined symbol "GetPlayerId"
and thats connected to this line...
new id = (isNumeric(params)) ? strval(params) : GetPlayerId(params);
could someone help plz
and this is the script that the line was in ...
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(481) : error 017: undefined symbol "GetPlayerId"
and thats connected to this line...
new id = (isNumeric(params)) ? strval(params) : GetPlayerId(params);
could someone help plz
and this is the script that the line was in ...
Код:
dcmd_makeprivet(playerid, params[]) { #pragma unused params if(gPlayerInfo[playerid][PLAYER_ADMIN] == 1) { new id = (isNumeric(params)) ? strval(params) : GetPlayerId(params); if(IsPlayerConnected(id) && id != playerid) { gPlayerInfo[playerid][PLAYER_PRIVET] = 1; new string[150]; format(string, sizeof(string), "You have been V.I.P Membership by administrator \'%s\'.", gPlayerInfo[playerid][PLAYER_NAME]); SendClientMessage(id, COLOUR_ORANGE, string); format(string, sizeof(string), "You have successfully Gave \'%s\' V.I.P Membership.", gPlayerInfo[id][PLAYER_NAME]); } } else { SendClientMessage(playerid, COLOUR_LIGHTBLUE, "You Are Not An Admin Member"); } }