14.08.2015, 14:05
Hey.
Well i created an system but its not working well.
When i store a boxe with KEY_YES(Y) it is suppost to show me how much lead is inside vehicle but it doesnt it shows me only Vehicle Lead . only this someone help me out please.
Well i created an system but its not working well.
PHP код:
if(vehicleLead[vehicleid] >= 50000) return SendClientError(playerid, "Your trailer can hold the maximum of 50,000 pieces of Metal.");
vehicleLead[vehicleid] += 100;
SetPVarInt(playerid, "GotDaMaterialsBro", 0);
StopPlayerHoldingObject(playerid);
SendClientMSG(playerid, COLOR_LIGHTGREY, "[Vehicle Lead %s].", vehicleLead);