Balkan SA:MP

PAWN skriptanje, gamemodovi, filterskripte, include fajlovi, mape, pluginovi => Razgovor u vezi PAWN - skriptanja => Temu započeo: Timur Script Januar 15, 2020, 13:10:36 posle podne

Naslov: Dinamican Aktor Error
Poruka od: Timur Script Januar 15, 2020, 13:10:36 posle podne
Problem(error/warning):4 errora dobijam na ovo
Dio skripte:  Ovo je takodje linija 2860
Pawno Code: [Izaberi]
  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);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)://
Naslov: Odg: Dinamican Aktor Error
Poruka od: daddy. Januar 15, 2020, 13:13:22 posle podne
Pawno Code: [Izaberi]
  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);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.
Naslov: Odg: Dinamican Aktor Error
Poruka od: Timur Script Januar 15, 2020, 13:16:16 posle podne
Pawno Code: [Izaberi]
  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);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,
Pawno Code: [Izaberi]
CreateDynamicActor(189, 1825.9435,-1219.6146,64.0059,84.8297, 1, 100.0, -1, -1, -1, STREAMER_ACTOR_SD, STREAMER_TAG_AREA, -1, 0); ali sam dobio jedan warning?
(2860) : warning 202: number of arguments does not match definition
Naslov: Odg: Dinamican Aktor Error
Poruka od: daddy. 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);
Naslov: Odg: Dinamican Aktor Error
Poruka od: Timur Script Januar 15, 2020, 13:22:49 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