LorDSG Posted June 8, 2013 Report Share Posted June 8, 2013 Am o problema legata de un CheckPoint care nu dispare.Dau /jobs ,aleg jobul Detectiv si imi apare un CheckPoint pe harta.Cand ajung la CheckPointul respectiv si intru in el acesta nu dispare.Cum pot face sa dispara cand intru in el ?Uitati aici liniile respective in care mi se pune checkpointul[pawn] if(listitem == 0) { DisablePlayerCheckpoint(playerid); CP[playerid] = 0; SetPlayerCheckpoint(playerid, 1473.4198,-1771.4503,18.7958, 3.0); SendClientMessage(playerid, COLOR_ORANGE, "» Mergi la CheckPointul de pe harta pentru jobul LEGAL DETECTIV"); }[/pawn] Link to comment Share on other sites More sharing options...
andy47 Posted June 8, 2013 Report Share Posted June 8, 2013 mergi la public OnPlayerEnterCheckpoint(playerid) si adaugi if(CP[playerid] == 0) { DisablePlayerCheckpoint(playerid); } Link to comment Share on other sites More sharing options...
LorDSG Posted June 8, 2013 Author Report Share Posted June 8, 2013 A mers.Multumesc frumos pentru ajutor.Thanks UP ! Link to comment Share on other sites More sharing options...
Question
LorDSG
Am o problema legata de un CheckPoint care nu dispare.
Dau /jobs ,aleg jobul Detectiv si imi apare un CheckPoint pe harta.Cand ajung la CheckPointul respectiv si intru in el acesta nu dispare.
Cum pot face sa dispara cand intru in el ?
Uitati aici liniile respective in care mi se pune checkpointul
[pawn] if(listitem == 0)
{
DisablePlayerCheckpoint(playerid);
CP[playerid] = 0;
SetPlayerCheckpoint(playerid, 1473.4198,-1771.4503,18.7958, 3.0);
SendClientMessage(playerid, COLOR_ORANGE, "» Mergi la CheckPointul de pe harta pentru jobul LEGAL DETECTIV");
}[/pawn]
Link to comment
Share on other sites
2 answers to this question
Recommended Posts