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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=77246)



help - luckie12 - 09.05.2009

i need help
i get this errors:
pawn Код:
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(852) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(852) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(852) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Luc\Bureaublad\Pawno\gamemodes\SDR.PWN(852) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Warnings.
it says line 852
and this is the line:
pawn Код:
gate1 = CreateObject(980, 1545.9384, -2539.4539, 18.5469, 349.3188,0,0,0,0,0,0);
what is it?
please help anyone ty alot


Re: help - Gamer007 - 09.05.2009

Umh the createobject thing is not even close by the parameters

CreateObject(objectid,x,y,z,rX,rY,rZ);

and what the hell u got?
CreateObject(objectid,x,y,z,rX,rY,rZ,0,0,0,0); Why are those 4 nulls at the end?..

Код:
gate1 = CreateObject(980, 1545.9384, -2539.4539, 18.5469, 349.3188,0,0);
That should do it a half, cuz you don't got rY,rZ cordinates so i leave it a 0 , get the cordinates and write them..


Re: help - MenaceX^ - 09.05.2009

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