HELLO
#7

Quote:
Originally Posted by MarvinPWN
Посмотреть сообщение
If you write it like this, it will work:
PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
    if(
pickupid == ospu)
    {
        
GameTextForPlayer(playerid"~g~~h~Faction Safe~n~~y~Type ~b~/opensafe~y~ to open~h~ faction safe !"60*60*36004);
        
SetTimerEx("PlayerInCheckpoint",1000,1,"ii",playerid,pickupid);
    }
    return 
1;
}
forward PlayerInCheckpoint(playerid,pickupid);
public 
PlayerInCheckpoint(playerid,pickupid)
{
    if(
pickupid == 0)
    {
        if(!
IsPlayerInRangeOfPoint(playerid,1.0,xyz))GameTextForPlayer(playerid," ",0,4);
    }
    return 
1;

I have test it and it work perfectly.

(xyz => coordination)
Don't work ... What the .., whyyyy

EDIT AGAIN: I change from pickupid == 0 to pickupid == ospu and it worked , and it's working so "gud"
I can't give u +rep because i need to spend some reputation around -_-
Reply


Messages In This Thread
HELLO - by Mariciuc223 - 08.08.2015, 17:50
Re: HELLO - by Sjn - 08.08.2015, 18:14
Re: HELLO - by Mariciuc223 - 08.08.2015, 18:20
Re: HELLO - by Vince - 08.08.2015, 19:57
Re: HELLO - by Mariciuc223 - 09.08.2015, 08:25
Re: HELLO - by MarvinPWN - 09.08.2015, 08:34
Re: HELLO - by Mariciuc223 - 09.08.2015, 10:26

Forum Jump:


Users browsing this thread: 2 Guest(s)