SA-MP Forums Archive
HELP - 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: HELP (/showthread.php?tid=575531)



HELP - kaloul - 27.05.2015

Hi!

When i try to edit "Rivershell" GM i see this error

"C:\Users\Khalil\Desktop\Nouveau dossier (2)\gamemodes\rivershell.pwn(155) : error 017: undefined symbol "EnableVehicleFriendlyFire"'

PLZ HELP ME


Re: HELP - DeitY - 27.05.2015

Did you include a_samp?


Re: HELP - kaloul - 27.05.2015

yes!!!


Re: HELP - DeitY - 27.05.2015

That function is at a_samp include. You have probably done something wrong.

native EnableVehicleFriendlyFire(); //a_SAMP

COpy us includes here and line 155.


Re: HELP - kaloul - 27.05.2015

Line :
public OnGameModeInit()
{
SetGameModeText("Rivershell");

ShowPlayerMarkers(0);
ShowNameTags(1);
SetWorldTime(17);
SetWeather(11);
UsePlayerPedAnims();
EnableVehicleFriendlyFire(); //THIS LINE 155
SetNameTagDrawDistance(110.0);
DisableInteriorEnterExits();


Re: HELP - DeitY - 27.05.2015

https://sampwiki.blast.hk/wiki/EnableVehicleFriendlyFire

SetPlayerTeam must be used!).

Read and check out.. Dunno..


Re: HELP - kaloul - 27.05.2015

a_samp: http://www.mediafire.com/view/moas95...y40/a_samp.inc


Re: HELP - DeitY - 27.05.2015

http://pastebin.com/PYBCpNYa


Replace a_samp .


Re: HELP - kaloul - 27.05.2015

THX IT WORK


Re: HELP - Abagail - 27.05.2015

What server version are you running? More specifically, what is the version of the a_samp your using?