SA-MP Forums Archive
4 warnigs 1 line - 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: 4 warnigs 1 line (/showthread.php?tid=451749)



4 warnigs 1 line - JayceonTaylor - 18.07.2013

pawn Код:
taxi1 = CreateObject(19311, 193.24170, -6.86930, 2.26210);
pawn Код:
:\Users\2com\Desktop\Roleplay\gamemodes\gangwars4.pwn(830) : warning 202: number of arguments does not match definition
C:\Users\2com\Desktop\Roleplay\gamemodes\gangwars4.pwn(830) : warning 202: number of arguments does not match definition
C:\Users\2com\Desktop\Roleplay\gamemodes\gangwars4.pwn(830) : warning 202: number of arguments does not match definition
C:\Users\2com\Desktop\Roleplay\gamemodes\gangwars4.pwn(830) : warning 202: number of arguments does not match definition



Re: 4 warnigs 1 line - SsHady - 18.07.2013

That is not the correct format of Createobject
Parameters
pawn Код:
(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)



Re : 4 warnigs 1 line - JayceonTaylor - 18.07.2013

How must to be, please help me that's the code
pawn Код:
CreateObject(19311, 307.37711, 2004.88342, 18.08510,   0.00000, 0.00000, -91.00000);
This is attached object to vehicle please help me brotha