Jump to content
  • 0

Question

Posted

if (PlayerInfo[playerid][pJob] == 0 || PlayerInfo[playerid][pBuletin] == 0)

{

    SetPlayerCheckpoint(playerid, 1481.3273,-1769.8569,18.7957,3.0);

SendClientMessage(playerid,COLOR_1GREEN,"Nu ai inca un buletin sau un job? Du-te la CheckPointul de pe harta");

if(PlayerToPoint(3.0,playerid, 1481.3273,-1769.8569,18.7957))

{

    DisablePlayerCheckpoint(playerid);

}

  }

Nu stiu daca este ceva gresit in el, dar cand intru in checkpoint nu se dezactiveaza...am incercat si cu OnPlayerEnterCheckpoint si cu IsPlayerInCheckpoint in al 2lea if si tot degeaba

2 answers to this question

Recommended Posts

Posted

Pune Disable-ul in [pawn]public OnPlayerEnterCheckpoint(playerid)[/pawn]

[pawn]public OnPlayerEnterCheckpoint(playerid)

{

if(PlayerToPoint(3.0,playerid, 1481.3273,-1769.8569,18.7957))

{

DisablePlayerCheckpoint(playerid);

        }

}[/pawn]

Posted

Pune Disable-ul in [pawn]public OnPlayerEnterCheckpoint(playerid)[/pawn]

[pawn]public OnPlayerEnterCheckpoint(playerid)

{

if(PlayerToPoint(3.0,playerid, 1481.3273,-1769.8569,18.7957))

{

DisablePlayerCheckpoint(playerid);

        }

}[/pawn]

Iti multumesc;)

Merge

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.