23.06.2014, 17:09
pawn Код:
CMD:pintar(playerid, params [])
{
if(sscanf(params, "ddd", CorVeiculo, CorVeiculo2)) return SendClientMessage(playerid, Vermelho, "[ x ] Uso Correto: /pintar [CorID1] [CorID2]");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,-1,"{FF0000}[ x ] Vocк nгo estб em um veнculo!");
ChangeVehicleColor(GetPlayerVehicleID(playerid));
SendClientMessage(playerid,-1,"{FFFF00}[ > ] As cores de seu veнculo foram alteradas!");
return 1;
}
pawn Код:
pwn(107) : warning 202: number of arguments does not match definition
pawn Код:
ChangeVehicleColor(GetPlayerVehicleID(playerid));