COMMAND:mycolor(playerid, params[])
{
// Check if the player has logged in
if(gLogged[playerid] == 1)
{
SendClientMessage(playerid, -1, BarColor[PlayerInfo[playerid][pBar]]);
}
// Let the server know that this was a valid command
return 1;
}
In mysql pBar e 0,1 sau 2 Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da
Question
star69
Ero(area / rile) / warning-(ul / urile): : error 035: argument type mismatch (argument 2)
Liniile de cod / sursa / script-ul(obligatoriu):
TextDrawBoxColor(APlayerData[playerid][MissionText], BarColor[PlayerInfo[playerid][pBar]]);
Problema intalnita (descriere): unde e BarColor[PlayerInfo[playerid][pBar]], trebuie sa fie o culoare.
Eu vreau ca fiecare jucator sa-si poata schimba culoarea acolo.
Am facut:
new BarColor[3][24] = { {"0x9600CCE2"}, // {"0xC30000FF"}, // {"0x00FF14FF"} // };
Aici functioneaza
COMMAND:mycolor(playerid, params[]) { // Check if the player has logged in if(gLogged[playerid] == 1) { SendClientMessage(playerid, -1, BarColor[PlayerInfo[playerid][pBar]]); } // Let the server know that this was a valid command return 1; }
In mysql pBar e 0,1 sau 2
Edited by star69Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da
Link to comment
Share on other sites
1 answer to this question
Recommended Posts