Help Please
#1

Hello All
Guys i Want Know Somthings
i Can Making This Checkpoints Appear All Not Withe else to making it one after one after one i want making all showing and last one else to after i take all the last one give money
example please +rep
PHP код:
new CP[MAX_PLAYERS];
CMD:rob(playeridparams[])
{
    
CP[playerid] = 0;
    
SetPlayerCheckpoint(playerid, -1447.2351,1502.1000,1.73666.6);
    
SendClientMessage(playerid0xFF0000"This text is red.");
    
SendClientMessage(playerid0xFF0000FF"Wanted Level: 6");
    return 
1;

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
        if(
CP[playerid] == 0)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1454.8569,1489.1010,7.10163.0);//Second CP
        
CP[playerid] = 1;
        }
        else if(
CP[playerid] == 1)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1428.7382,1490.0945,7.10163.0);//Third CP
        
CP[playerid] = 2;
        }
        else if(
CP[playerid] == 2)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1402.7249,1486.1351,7.10163.0);//Fourth CP
        
CP[playerid] = 3;
        }
        else if(
CP[playerid] == 3)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1382.1962,1480.3761,8.56253.0);
        
CP[playerid] = 4;
        }
        else if(
CP[playerid] == 4)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1376.8267,1492.7152,11.20313.0);
        
CP[playerid] = 5;
        }
        else if(
CP[playerid] == 5)
        {
        
DisablePlayerCheckpoint(playerid);
        
SetPlayerCheckpoint(playerid, -1390.7821,1483.1436,1.86723.0);
        
CP[playerid] = 6;
        } 
this last one
PHP код:
        else if(CP[playerid] == 6)//Last CP
        
{
        
DisablePlayerCheckpoint(playerid);
        
CP[playerid] = -1;
        
SetPlayerWantedLevel(playeridGetPlayerWantedLevel(playerid)+6);
        
GivePlayerMoney(playerid40000+random(120000));
        }
        return 
1;

Reply
#2

I don't understand what you mean...
Reply
#3

i Want Making All Checkpoints Showing After After i Done All Showing This To Get Money
Quote:

else if(CP[playerid] == 6)//Last CP
{
DisablePlayerCheckpoint(playerid);
CP[playerid] = -1;
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+6);
GivePlayerMoney(playerid, 40000+random(120000));
}
return 1;
}

that all
Reply
#4

example this checkpoints when i in 1 checkpoints disable and new checkpoints appear and im in checkpoints disable and 1 new appear
i want make the checkpoints all appear not 1 after 1 after 1 ...
all showing but last one showing after i done all checkpoints
please help
Reply
#5

Do you mean , do you wanna make a pickup for cash?
OR
Do you wanna make Checkpoints for race? Sorry dont understant you
Reply
#6

Rip english..
Reply
#7

Yes :C I Can't understant him , No one else does ,

Wish he use the right english so we can understant him
Reply
#8

Quote:
Originally Posted by MichealScript
Посмотреть сообщение
Yes :C I Can't understant him , No one else does ,

Wish he use the right english so we can understant him
i want remove from all else ever one know what its do else ok
and i want making all checkpoints appear
and last one only else dont change it
if i remove the checkpoints else its will showing only 2 checkpoints frist one and last one this my problems to i want making all checkpoints appear
Reply
#9

Please Guys Help
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)