Pomoc u vezi mape

Započeo RavenX, April 13, 2020, 22:23:14 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Problem(error/warning): (Kad sam neke CreateObject zamenio s CreateDynamicObject, dobio sam puno errora)
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : error 012: invalid function call, not a valid address
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : warning 215: expression has no effect
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : error 001: expected token: ";", but found ")"
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : error 029: invalid expression, assumed zero
C:\Users\Duje\Desktop\\gamemodes\br-rp.pwn(176) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.10.4           Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

Dio skripte: Ide (ako treba jos koji dio prije/poslije te linije, pisite.)
[pawn][CreateDynamicObject(18762, 1264.24524, -1841.78809, 14.62882,   0.00000, 0.00000, 0.00000);]
Debug iz server_log nema potrebe
Slika/video ingame problema(obavezno ako je ingame problem): nema potrebe



Ova jedna linija je 176, druge cu ako bude trebalo.

Nije isto CreateObject i CreateDynamicObject
Razlika izmedju njih je ova
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);

native CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance = 0.0);

Ovako treba
CreateDynamicObject(18762, 1264.24524, -1841.78809, 14.62882,   0.00000, 0.00000, 0.00000,-1,-1,-1,300.0)

https://convertffs.com
Izvoli sajt preko kojeg možeš konvertovati sve iz Createobject u createdynamicobject