Jump to content
  • 0

[GameModes] Problema #1 ..


Question

Posted

Buna dimineatza [ ziua  buna seara in caz in care e citit la ore ]

Deci ce problema am.

Am luat din serverul Bike Stunt Zone [bSZ] create clan dar imi da erorile aste si nush dela ce sunt :(( :((

D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(249) : error 029: invalid expression, assumed zero
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(642) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(643) : error 001: expected token: ",", but found "["
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(643) : error 029: invalid expression, assumed zero
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(643) : warning 215: expression has no effect
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(643) : error 001: expected token: ";", but found "]"
D:\Core zone\Romania SexY Stunt\gamemodes\RO.pwn(643) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

Linia 642 Random = random ( sizeof ( RandomSpawns ) ) ;

Linia 643    SetPlayerPos( playerid, RandomSpawns[ Random ][ 0 ], RandomSpawns[ Random ][ 1 ], RandomSpawns[ Random ][ 2 ] ) ;

Linia 449 "{15D4ED}[sexY-Ann0uNcEr]-> {FFFFFF}RoMaNiA SexY Stunt  Is THE BEST",

Adika numi dau seama dela ce sunt..

Daca cineva ma poate ajuta multumesc mult.

6 answers to this question

Recommended Posts

Posted

Pune in loc de sizeof ( RandomSpawns )  numarul seturilor de coordonate -1

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

SetPlayerPos( playerid, RandomSpawns[ Random ][ 0 ], RandomSpawns[ Random ][ 1 ], RandomSpawns[ Random ][ 2 ] ) ;

Random = random ( sizeof ( RandomSpawns ) ) ;

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.