SA-MP Forums Archive
Need help, error 004. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need help, error 004. (/showthread.php?tid=116401)



Need help, error 004. - screw - 28.12.2009

Hello all,

I am scripting for one week now and im really starting to learn it. I searched for a script which generates jobs and i found a good one. I red the whole page and there was only one more person with this error.

ERROR:
C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(54 : error 004: function "GetPlayerJobId" is not implemented
C:\Documents and Settings\Screw!\Bureaublad\Nieuwe map (2)\gamemodes\grandlarc.pwn(550) : error 004: function "GetPlayerJobId" is not implemented

SCRIPT: row 546-557
CMD:test(playerid, params[])
{
if(GetPlayerJobId(playerid) == 0)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your a civilian!");
}
else if(GetPlayerJobId(playerid) == 1)
{
SendClientMessage(playerid, 0xFF0000FF, "SERVER: Your are not a civilian!");
}
return 1;
}

I searced for a answer and red about 40 pages about this error, they al say: You are misschien braces.. Ok, thats possible. But when i delete this command all the errors are gone and the server starts...

So please someone, help me out!

(and if you want to help me more, just ask my msn address)


Re: Need help, error 004. - StreetGT - 28.12.2009

try with "GettingJob"


Re: Need help, error 004. - screw - 28.12.2009

Hehe, thats all?? :P, lol scripting gta is weird :P but thanks it works


Re: Need help, error 004. - StreetGT - 06.01.2010

Quote:
Originally Posted by screw
Hehe, thats all?? :P, lol scripting gta is weird :P but thanks it works
^^