Help with Random (Pilot Job)
#5

Quote:
Originally Posted by d1git
Посмотреть сообщение
PHP код:
forward Flug(playerid);
public 
Flug(playerid) {
    
fCP[playerid] = random(4);
    switch (
fCP[playerid]) {
        case 
01SendClientMessage(playeridCOLOR_WHITE"Fliege nun nach Los Santos um die Ware abzuliefern.");
        case 
23SendClientMessage(playeridCOLOR_WHITE"Fliege nun nach Las Venturas um die Ware abzuliefern.");
    }
    
TogglePlayerControllable(playeridtrue);
    
    return 
1;

i can't use 0 because that's the standard value. But i think i have a solution
Reply


Messages In This Thread
Help with Random (Pilot Job) - by ImTobi - 14.07.2018, 00:39
Re: Help with Random (Pilot Job) - by Akeem - 14.07.2018, 01:38
Re: Help with Random (Pilot Job) - by ImTobi - 14.07.2018, 01:53
Re: Help with Random (Pilot Job) - by d1git - 14.07.2018, 01:57
Re: Help with Random (Pilot Job) - by ImTobi - 14.07.2018, 01:59
Re: Help with Random (Pilot Job) - by d1git - 14.07.2018, 02:01

Forum Jump:


Users browsing this thread: 1 Guest(s)