26.01.2011, 20:08
Hey guys, im not sure whats wrong with this:
It keeps sending the "nigga chu 2 poor" message. I have 5000$ on me, i set car to 150$. Any ideas why code isn't working correctly.
pawn Код:
if(GetPlayerCash(playerid) > VehStats[vehicleid][vPrice])
{
SendClientMessage(playerid, COLOR_BLUE, "Congratz u bout a car nigga");
VehStats[vehicleid][vOwnerID] = UserStats[playerid][pSQLid];
GivePlayerCash(playerid, -VehStats[vehicleid][vPrice]);
UpdateVehStats(vehicleid);
}
else
{
SendClientMessage(playerid, COLOR_BLUE, " Nigga, chu 2 pooooooooor!!");
}