[HELP] COps Robber
#1

I need help guys please tell me please please what random(5000); man i need to know so for i maker rob commands for los santos cops robber my one! thanks all!


Код:
 	new zrand = random(5000);
 	if(zrand >=0 && zrand <=1000) {
 	SendClientMessage(playerid, 0xA9A9A9AA, "|_Robbery Failed_|");
 	SendClientMessage(playerid,COLOR_ERROR,"Your attempt to Grotti has failed");
 	UsedAutoRecently[playerid] += 120;
 	return 1;
 	}
Reply
#2

Please Guys Help With


random(5000);

what its mean
Reply
#3

Returns a random number from the range 0-5000. In that script, if the random number is over 0 and below 1000, the robbery fails.
Reply
#4

so if i want to make for exampel place from myself not from lvrcr what random i should put thats what i need
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)