Posts: 215
Threads: 43
Joined: Nov 2014
Reputation:
0
error 017: undefined symbol "issuerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
how to fix it?
Posts: 540
Threads: 107
Joined: Sep 2014
Reputation:
0
Well, you didn't defined "issuerid", please post your code.
Posts: 215
Threads: 43
Joined: Nov 2014
Reputation:
0
COMMAND:headshot(playerid, params[]) {
new string[128], name[MAX_PLAYER_NAME+1];
GetPlayerName(playerid, name, sizeof(name));
if(GetPlayerWeapon(issuerid) != ArmaHeadShot) return SendClientMessage(playerid, -1, "[!] You do not have the gun headshot system!");
switch(ActivarHeadShot[playerid]) {
case false: {
ActivarHeadShot[playerid] = true;
format(string, sizeof(string), "* %s system activate headshot.", name);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
case true: {
ActivarHeadShot[playerid] = false;
format(string, sizeof(string), "* %s system disables headshot.", name);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
}
}
return 1;
}
FilterScript code by OTACON