11.01.2014, 20:57
I've a little problem with sscanf can anyone help me please ?
Thanks
pawn Код:
new modelid, color1, color2, vehid, str[64];
if(sscanf(params, "ddd", modelid, color1, color2)) return ShowInfoForPlayer(playerid, COLOR_GREY, "USAGE: /creerveh [modele] [couleur1] [couleur2]");
if(modelid < 400 || modelid > 611) return ShowInfoForPlayer(playerid, COLOR_RED, "Modиle invalide!");
if(color1 < 0 || color2 < 0) return ShowInfoForPlayer(playerid, COLOR_RED, "Couleur invalide!");
Код:
C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(1455) : error 035: argument type mismatch (argument 2) C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(1456) : error 035: argument type mismatch (argument 2) C:\Users\Jonathan\Desktop\MyRP\gamemodes\MyRP.pwn(1457) : error 035: argument type mismatch (argument 2)