- 0
argument type mismatch
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
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
1 answer to this question
Recommended Posts