#1

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
Reply
#2

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..
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)