Some Help Please - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Some Help Please (
/showthread.php?tid=596616)
Some Help Please -
Zorono - 20.12.2015
Код:
E:\Backup [TDM~RP]\SATDM V10.0\gamemodes\SATDM.pwn(52135) : error 021: symbol already defined: "Sniper"
E:\Backup [TDM~RP]\SATDM V10.0\gamemodes\SATDM.pwn(52138) : error 021: symbol already defined: "GetPlayerName"
E:\Backup [TDM~RP]\SATDM V10.0\gamemodes\SATDM.pwn(52139) : error 010: invalid function or declaration
E:\Backup [TDM~RP]\SATDM V10.0\gamemodes\SATDM.pwn(52141) : error 010: invalid function or declaration
Код:
public Sniper(playerid)
{
new dsname[MAX_PLAYER_NAME];
GetPlayerName(playerid, dsname, sizeof(dsname));
if(GetPlayerWeapon(playerid) == 34)
SendClientMessageToAll(COLOR_LIGHTBLUE,"{00FF00}%s {DBDB70}Has Used {FA0C24}Sniper Refile Weapon", dsname);
return 1;
}
please help me
Re: Some Help Please -
prineside - 20.12.2015
You have already defined a "Sniper" public function somewhere in the code. Try to change function name to something else, something more meaningful