05.07.2014, 16:12
Hey guys I was just working on a ups job, and I wanted to know how I can randomize which set of checkpoints the script displays for the player. I didn't know if I could just switch it and then use cases or what. Any help would be nice.
That is the command so far (I have all of the checkpoints too, I just didn't add them because I want to know how to randomize them).
Код:
CMD:getcargo(playerid, params[]) { if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 498) { SendClientMessage(playerid, -1, "Drive through the checkpoints in order to do the UPS job."); } }