Help Errors - 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 Errors (
/showthread.php?tid=428477)
Help Errors -
Zumba - 05.04.2013
Код:
public OnPlayerUpdate(playerid)
{
CheckWeapons(playerid);
return 1;
}
Код:
D:\Documents and Settings\Miki\Desktop\Roleplay\gamemodes\rp.pwn(10912) : error 029: invalid expression, assumed zero
D:\Documents and Settings\Miki\Desktop\Roleplay\gamemodes\rp.pwn(10912) : error 004: function "S@@_OnPlayerUpdate" is not implemented
Re: Help Errors -
MattyG - 06.04.2013
Try adding these to the top of your script:
pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <string>
#include <file>
#include <time>
#include <datagram>
#include <a_players>
#include <a_vehicles>
#include <a_objects>
#include <a_sampdb>
If that doesn't fix your problem, make sure these files are all in your pawno/include folder.
If it still gives you the error, make sure the includes are updated.