Dinamican Aktor Error

Započeo Timur Script, Januar 15, 2020, 13:10:36 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning):4 errora dobijam na ovo
Dio skripte:  Ovo je takodje linija 2860 [pawn]  CreateDynamicActor(189, 1825.9435,-1219.6146,64.0059,84.8297, 1, 100.0, -1, -1, -1, STREAMER_ACTOR_SD, STREAMER_TAG_AREA STREAMER_TAG_AREA -1, priority = 0);[/pawn]
Evo koji errori , nkntm stv
(2860) : error 001: expected token: ",", but found "_"
(2860) : error 029: invalid expression, assumed zero
(2860) : warning 215: expression has no effect
(2860) : error 001: expected token: ";", but found ")"
(2860) : fatal error 107: too many error messages on one line
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):
Kod: [Izaberi]
//
Slika/video ingame problema(obavezno ako je ingame problem)://

[pawn]  CreateDynamicActor(189, 1825.9435,-1219.6146,64.0059,84.8297, 1, 100.0, -1, -1, -1, STREAMER_ACTOR_SD, STREAMER_TAG_AREA STREAMER_TAG_AREA -1, priority = 0);[/pawn]
Dva puta si stavio STREAMER_TAG_AREA STREAMER_TAG_AREA i nisi stavio zarez nakon -1 ( na kraju ova "-1" ) ali ni izmedju njih, provjeri zareze.

Citat: daddy. poslato Januar 15, 2020, 13:13:22 POSLE PODNE
[pawn]  CreateDynamicActor(189, 1825.9435,-1219.6146,64.0059,84.8297, 1, 100.0, -1, -1, -1, STREAMER_ACTOR_SD, STREAMER_TAG_AREA STREAMER_TAG_AREA -1, priority = 0);[/pawn]
Dva puta si stavio STREAMER_TAG_AREA STREAMER_TAG_AREA i nisi stavio zarez nakon -1 ( na kraju ova "-1" ) ali ni izmedju njih, provjeri zareze.
Fixani errori,
[pawn]   CreateDynamicActor(189, 1825.9435,-1219.6146,64.0059,84.8297, 1, 100.0, -1, -1, -1, STREAMER_ACTOR_SD, STREAMER_TAG_AREA, -1, 0);[/pawn] ali sam dobio jedan warning?
(2860) : warning 202: number of arguments does not match definition

Nešto ti je tu viška, provjeri
Evo primjer toga svega sa official foruma:
CreateDynamicActor(name[MAX_PLAYER_NAME], modelid, Float:x, Float:y, Float:z, Float:angle, worldid = 0, bool:invulnerable = true, Float:health = 100.0);

Citat: daddy. poslato Januar 15, 2020, 13:19:44 POSLE PODNE
Nešto ti je tu viška, provjeri
Evo primjer toga svega sa official foruma:
CreateDynamicActor(name[MAX_PLAYER_NAME], modelid, Float:x, Float:y, Float:z, Float:angle, worldid = 0, bool:invulnerable = true, Float:health = 100.0);
Fixano sve fviska je bio ovo STREAMER i to hvl moze lock @Galardo