SA-MP Forums Archive
Help with 2 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with 2 errors (/showthread.php?tid=112949)



Help with 2 errors - Rubennnnn - 11.12.2009

I have these two errors:

C:\Users\Ruben\Documents\pombear\pfpbase.pwn(124) : warning 202: number of arguments does not match definition
C:\Users\Ruben\Documents\pombear\pfpbase.pwn(139) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.

I've put the .pwn on pastebin: http://rubennnnn.pastebin.com/me3682cf
I've tried everything but I don't know what's the problem.


Re: Help with 2 errors - dice7 - 11.12.2009

You forgot the speed
https://sampwiki.blast.hk/wiki/MoveObject


Re: Help with 2 errors - RyDeR` - 11.12.2009

Add after 25.316450119019 ,3.0
and after 31.695266723633 ,3.0

this is the speed, how bigger the amount how faster it'll move.


Re: Help with 2 errors - Rubennnnn - 11.12.2009

Thanks for the help. I still have two other problems: The gate isn't closing automatically and with every command you use you see: You are not allowed to use this command.
Help?


Re: Help with 2 errors - dice7 - 11.12.2009

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

And you aren't in TEAM_RIFA or the gTeam variable for your playerid isn't set to it


Re: Help with 2 errors - Rubennnnn - 11.12.2009

Quote:
Originally Posted by dice7
https://sampwiki.blast.hk/wiki/SetTimer

And you aren't in TEAM_RIFA or the gTeam variable for your playerid isn't set to it
I am and it is.