17.09.2011, 02:59
ae eu to tentando usa tua opsгo mas deu fail ainda tem um erro
PHP код:
#include <a_samp>
CMD:pintar( playerid, params[] )
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "Vocк nгo й o motorista.");
new color1, color2;
if(sscanf(params, "ii", color1, color2)) return SendClientMessage(playerid, -1, "/pintar [colorid] [colorid]");
if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid, -1, "Dinheiro insuficiente. $100");
ChangeVehicleColor(GetPlayerVehicleID(playerid), color1, color2);
SendClientMessage(playerid, -1, "Veнculo pintado.");
GivePlayerMoney(playerid, -100);
return 1;
}