SA-MP Forums Archive
[Help] Objects - 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] Objects (/showthread.php?tid=522070)



[Help] Objects - JessThompson - 25.06.2014

Could i just ask about the createdynamicobjects, here is what i have done

Код:
CreateDynamicObject(2000, 1833.09997559, -1732.00000000, 5208.70019531, 0.00000000, 0.00000000, 90.00000000,-1,-1,-1,250.0,0.0);
This should work because of the native is

Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
But when i compile this i get

Код:
C:\Users\Liam Leonard\Desktop\UVRP SCRIPT\gamemodes\UGRP [NEW].pwn(23187) : warning 202: number of arguments does not match definition



Re: [Help] Objects - JessThompson - 25.06.2014

any help?


Re: [Help] Objects - SupaVZ - 25.06.2014

just copy and paste a object and replace it in x y z..


Respuesta: [Help] Objects - Su37Erich - 25.06.2014

Are you sure that is the correct line?
I tested it and I dont have any warning.
Download again the include, check your directive and the "includes folder", maybe you are using and old version.


Re: Respuesta: [Help] Objects - JessThompson - 25.06.2014

Quote:
Originally Posted by Su37Erich
Посмотреть сообщение
Are you sure that is the correct line?
I tested it and I dont have any warning.
i have muitple problems if you could add me on skype lenny9113 i will sure to show you my screen though teamview please help me