C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69797) : error 054: unmatched closing brace ("}")
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69798) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69800) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69802) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69805) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69807) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69809) : warning 218: old style prototypes used with optional semicolumns
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69810) : error 021: symbol already defined: "format"
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69811) : error 021: symbol already defined: "ProxDetector"
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69813) : error 010: invalid function or declaration
C:\DOCUME~1\Owner\Desktop\GALAXY~1\larpKbu.pwn(69818) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
10 Errors.
}
if(strcmp(cmd, "/armtazer", true) == 0)
{
if(PlayerInfo[playerid][pFaction] != 255 && FactionInfo[PlayerInfo[playerid][pFaction]][fType] == 1 || PlayerInfo[playerid][pFaction] != 255 && FactionInfo[PlayerInfo[playerid][pFaction]][fType] == 2)
{
if(Gduty[playerid] != 1)
{
SendClientMessage(playerid, COLOR_INDIGO, "You have to be on Duty");
return 1;
}
if(GetPlayerWeapon(playerid) == 23)
{
InfoBoxForPlayer(playerid, "~g~Tazer~n~~n~Tazers is armed!");
format(string, sizeof(string), "%s withdraws and arms his tazer.", GetPlayerNameEx(playerid));
ProxDetector(20.0, playerid, string,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN,COLOR_GREEN);
}
else
{
SendClientMessage(playerid, COLOR_INDIGO, "You need a tazer");
}
}
return 1;
}
|
Originally Posted by Karl115
i can't under stand why ?? where should i put this script? in the last line right?
|

|
Originally Posted by Carvos
Did you only copy the /armtazer part of the SouthWest-RP script?
|
|
Originally Posted by NiiRV4N4
Quote:
|
C:\DOCUME~1\Owner\Desktop\GALAXY~1\LARPK1~1.PWN(20762) : error 017: undefined symbol "pFaction" C:\DOCUME~1\Owner\Desktop\GALAXY~1\LARPK1~1.PWN(20762) : error 017: undefined symbol "pFaction" C:\DOCUME~1\Owner\Desktop\GALAXY~1\LARPK1~1.PWN(20762) : error 029: invalid expression, assumed zero C:\DOCUME~1\Owner\Desktop\GALAXY~1\LARPK1~1.PWN(20762) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
C:\DOCUME~1\Owner\Desktop\GALAXY~1\LARPK1~1.PWN(20762) : error 017: undefined symbol "pFaction"