Help Me [IDea]
#1

remove it please
Reply
#2

no one will help me ? :/
Reply
#3

Quote:

SendClientMessage(playerid, 0xFF0000, "Finish This Shit");
{
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 50.0);
CP[playerid] = 10;
SendClientMessage(playerid, 0x00FF00AA, "You have been healed");
SendClientMessage(playerid, 0x00FF00AA, "Player healed");
}

Why have you used curly brackets?
And you are setting the CP[playerid] to 10 that means you will ultimately see the checkpoint when OnPlayerPickUpDynamicPickup is called.

And I think your code is not complete.
Tip: Don't create the pickups when a player uses the command /mission, instead create the next pickup when player picks the last pickup. I mean like this:
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid

    
//if(CP[playerid] == 0)       instead of this:
    
if(pickupid == ship1)
    { 
        
DestroyPickup(Ship1); 
        
Ship2 CreateDynamicPickup(121019, -1428.7382,1490.0945,7.1016,0); 
    } 
+rep if it helped
Reply
#4

Quote:
Originally Posted by coool
Посмотреть сообщение
Why have you used curly brackets?
And you are setting the CP[playerid] to 10 that means you will ultimately see the checkpoint when OnPlayerPickUpDynamicPickup is called.

And I think your code is not complete.
Tip: Don't create the pickups when a player uses the command /mission, instead create the next pickup when player picks the last pickup. I mean like this:
PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid

    
//if(CP[playerid] == 0)       instead of this:
    
if(pickupid == ship1)
    { 
        
DestroyPickup(Ship1); 
        
Ship2 CreateDynamicPickup(121019, -1428.7382,1490.0945,7.1016,0); 
    } 
+rep if it helped
i want called [Checkpoints] after take all the [Pickups]
Reply
#5

Quote:
Originally Posted by astanalol
Посмотреть сообщение
i want called [Checkpoints] after take all the [Pickups]
Then remove the line
PHP код:
CP[playerid] = 10
under CMD:mission
Reply
#6

Quote:
Originally Posted by coool
Посмотреть сообщение
Then remove the line
PHP код:
CP[playerid] = 10
under CMD:mission
if i remove it
will not callback the checkpoints to take rewards.
all i want called [Checkpoints] after take all the [Pickups]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)