GTAOnline.net

San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Xolokos le 03 Février 2011, 19:36:20

Titre: 3DTextLabel ?
Posté par: Xolokos le 03 Février 2011, 19:36:20
Bonjouer problème error que je connais pas.
UpdatePlayer3DTextLabelText(playerid,Grades, 0xB6B6B6FF, "[Sergent]");C:\Documents and Settings\ATHLON\Bureau\[FR]Call Of Serinity[0.3c]\gamemodes\[FR]COS(2).pwn(916) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Merci :D
Titre: Re : 3DTextLabel ?
Posté par: Boomerkuigi le 03 Février 2011, 20:06:25
T'as bien definie Grades comme le precise le wiki sur cette fonction ?
new PlayerText3D:Grades ;
Titre: Re : 3DTextLabel ?
Posté par: Jcvag44800 le 05 Février 2011, 10:26:38
Ou ceci ?
http://wiki.sa-mp.com/wiki/Create3DTextLabel (http://wiki.sa-mp.com/wiki/Create3DTextLabel)
Titre: Re : 3DTextLabel ?
Posté par: nivi le 05 Février 2011, 15:31:11
[quote author=Xolokos link=topic=12733.msg218249#msg218249 date=1296758180]
Bonjouer problème error que je connais pas.
[code]
UpdatePlayer3DTextLabelText(playerid,Grades, 0xB6B6B6FF, "[Sergent]");
C:\Documents and Settings\ATHLON\Bureau\[FR]Call Of Serinity[0.3c]\gamemodes\[FR]COS(2).pwn(916) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Merci :D
[/quote]

[/code]
UpdatePlayer3DTextLabelText(playerid,Grades, 0xB6B6B6FF "[Sergent]");
il doit marcher.