1
Scripting SA-MP [Pawn center] / Problème script
« le: 05 Août 2013, 20:26:26 »
Bonsoir,
Celà fait plusieurs jour que je recherche pour règlé 2 warning.
Voici les warnings :
Celà fait plusieurs jour que je recherche pour règlé 2 warning.
Voici les warnings :
Citer
(16900) : warning 204: symbol is assigned a value that is never used: "playertextid"
(16896) : warning 204: symbol is assigned a value that is never used: "message"
Code: (pwn) [Sélectionner]
if(strcmp(cmd, "/posermessage", true) == 0)
{
if( !strlen(tmp) )
{SendClientMessage(playerid, COLOR_ACTION, "Astuce: /posermessage <TEXTE>");return 1;}
new message = strval(tmp);
new PlayerText3D:playertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
playertextid = CreatePlayer3DTextLabel(playerid,"message",0x008080FF,X,Y,Z,40.0);
return 1;
}
