- 0
Ceva probleme
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
bogdan.trial
Stiu ca ar trebui sa mai caut da nu gasesc si nu inteleg cum sa rezolv problema
COMMAND:car(playerid, params[]) { new carid, carcolor1, carcolor2; if(!sscanf(params, "iii", carid, carcolor1, carcolor2)) { if(carid >= 400 && carid <= 611) { if(carcolor1 >= 0 && carcolor1 <= 252) { if(carcolor2 >= 0 && carcolor2 <= 252) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); CreateVehicle(carid, X+4, Y, Z, 10, carcolor1, carcolor2, 100); SendClientMessage(playerid, 0xD8D8D8FF, "Vehicle Spawned"); return 1; } else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable."); } else return SendClientMessage(playerid, 0xD8D8D8FF, "Only color id's between 0 and 252 are avaliable."); } else return SendClientMessage(playerid, 0xD8D8D8FF, "Only id's between 400 and 611 are avaliable."); } else return SendClientMessage(playerid, 0xD8D8D8FF, "USAGE: /spawncar [VehicleId] [Color 1][Color 2]"); }Sa zicem ca creez o masina, dupaia mai vreau una da cea veche sa dispara.
0 answers to this question
Recommended Posts