02.03.2013, 01:10
pawn Код:
if(!strcmp("/galao", cmdtext, true))
{
if(PlayerInfo[playerid][pGalao]-- < 1) return SendClientMessage(playerid,-1, "Vocк nгo tem 1 Galгo !");
new ID = GetPlayerVehicleID(playerid);
Gas[ID] += 10; // 1 Galao = 10 Litros
Gas[ID] = GasMax;
}