GTAOnline.net

San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: BuBuNo le 26 Avril 2008, 21:39:23

Titre: un blem de forward
Posté par: BuBuNo le 26 Avril 2008, 21:39:23
allor voilla mon gm est constituer de forward et quand je veut compiler il me marque sa
E:\_FR_LV~1\GAMEMO~1\STUNTL~2.PWN(51) : error 001: expected token: ";", but found "forward"
E:\_FR_LV~1\GAMEMO~1\STUNTL~2.PWN(1443) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664     [b]Copyright[/b] (c) 1997-2006, ITB CompuPhase

1 Error.
et la ligne 51

(ligne 51)forward Givecashdelaytimer(playerid);
je sait que le 2em n'est pas impotan mais le premier oui allor si vous pouriez me coriger merci d'avance
Titre: Re : un blem de forward
Posté par: NatiVe™ le 26 Avril 2008, 21:42:57
Ca veut dire que tu a pas fermer une de tes variable a la ligne 50 (pas 51)

NV.

Titre: Re : un blem de forward
Posté par: BuBuNo le 26 Avril 2008, 21:46:35
et donc je met quoi a la ligne 50
Titre: Re : un blem de forward
Posté par: NatiVe™ le 26 Avril 2008, 21:47:17
Montre la moi !

NV.

Titre: Re : un blem de forward
Posté par: BuBuNo le 26 Avril 2008, 21:48:57
ligne 49 #define INACTIVE_PLAYER_ID 255
ligne 50
ligne 51 forward Givecashdelaytimer(playerid);
Titre: Re : un blem de forward
Posté par: NatiVe™ le 26 Avril 2008, 21:51:53
Met ton GM sur pastebin je comprendrais mieux ;)

NV.

Titre: Re : un blem de forward
Posté par: BuBuNo le 26 Avril 2008, 21:52:54
http://pastebin.com/m5b91cf0 le voilla
Titre: Re : un blem de forward
Posté par: R@f le 26 Avril 2008, 21:59:32
ligne 53, enlève l'accolade ( } ) ;)

++
R@f
Titre: Re : un blem de forward
Posté par: BuBuNo le 26 Avril 2008, 22:03:46
sa ne change rien AIDER MOI!!!!!!!!! SVP
Titre: Re : un blem de forward
Posté par: [StAfF]MaN le 26 Avril 2008, 23:44:19
C'est a la ligne 16 de ton pastebin :

new Float: saved[MAX_PLAYERS][5]     ;   Tu l'as oublié ;)
Titre: Re : un blem de forward
Posté par: BuBuNo le 27 Avril 2008, 09:58:03
exacte merci a tous :cheers :lock :lmfao