random pick
#2

is it something like this


Код:
//top of script 

new random;
{
if (strcmp("/opencase", cmdtext, true, 10) == 0)\

random

return 1;
}

now i need something here to say if he hase the case so like 
if(pickupid == Pickup)
random = 1 

if(random = 1)
then i need somehow to select a random thing

else

SendClientMessage (playerid, 0x33AA33AA , "you do not have the case");
Something like that im realy noob at this well not real noob just the hard stuff i dont know any way thats how i think it would work
Reply


Messages In This Thread
random pick - by sggassasin - 18.07.2009, 13:18
Re: random pick - by sggassasin - 18.07.2009, 13:49
Re: random pick - by Vince - 18.07.2009, 13:56
Re: random pick - by sggassasin - 18.07.2009, 16:18
Re: random pick - by member - 18.07.2009, 16:21
Re: random pick - by sggassasin - 19.07.2009, 02:27
Re: random pick - by sggassasin - 19.07.2009, 03:53
Re: random pick - by sggassasin - 19.07.2009, 04:20
Re: random pick - by Jefff - 19.07.2009, 12:00

Forum Jump:


Users browsing this thread: 7 Guest(s)