Flyer-Satyr Posted May 7, 2011 Report Share Posted May 7, 2011 cum pot face ca un checkpoint sa se vada doar de la o aumita distanta ? ex, daca e la 50metri , sa ii apara pct rosu pe minimap , sau sa nu mai apara deloc pct ala rosu :) Link to comment Share on other sites More sharing options...
IstuntmanI Posted May 7, 2011 Report Share Posted May 7, 2011 Foloseste CreateDynamicCheckpoint sau asa ceva din Incognito's Streamer. Link to comment Share on other sites More sharing options...
Flyer-Satyr Posted May 7, 2011 Author Report Share Posted May 7, 2011 inca o mica problema :|la public OnPlayerEnterDynamicCP(playerid, checkpointid);{cum fac , daca playerul e in CP resopectiv :-?? Link to comment Share on other sites More sharing options...
IstuntmanI Posted May 7, 2011 Report Share Posted May 7, 2011 Sus in script:[pawn]new NumeCheckpoint;[/pawn]Sub OnGameModeInit:[pawn]NumeCheckpoint = CreateDynamicCheckpoint(........................);[/pawn]Si la OnPlayerEnterDynamicCP trebuie sa pui[pawn]if(checkpointid == NumeCheckpoint){ //cod pentru checkpointul respectiv}[/pawn] Link to comment Share on other sites More sharing options...
Flyer-Satyr Posted May 7, 2011 Author Report Share Posted May 7, 2011 alea de sus stiam , ultima aveam nevoie mersi stuntman Link to comment Share on other sites More sharing options...
Flyer-Satyr Posted May 7, 2011 Author Report Share Posted May 7, 2011 plm :| alta problemaerror: black.pwn(4418) : error 017: undefined symbol "checkpointid"la public OnPlayerEnterDynamicCP(playerid){if(checkpointid == pizzacp) { ShowMenuForPlayer(pizza,playerid); }}ce naiba mai are?:| Link to comment Share on other sites More sharing options...
IstuntmanI Posted May 7, 2011 Report Share Posted May 7, 2011 plm :| alta problemaerror: black.pwn(4418) : error 017: undefined symbol "checkpointid"la public OnPlayerEnterDynamicCP(playerid){if(checkpointid == pizzacp) { ShowMenuForPlayer(pizza,playerid); }}ce naiba mai are?:|Trebuie sa pui in loc de[pawn]public OnPlayerEnterDynamicCP(playerid)[/pawn]asta:[pawn]public OnPlayerEnterDynamicCP(playerid, checkpointid)[/pawn] Link to comment Share on other sites More sharing options...
Flyer-Satyr Posted May 7, 2011 Author Report Share Posted May 7, 2011 Resolved :Xthank's stuntman , you're the best )scuze pt spam si pt ca te-am deranjat stuntman Link to comment Share on other sites More sharing options...
Question
Flyer-Satyr
cum pot face ca un checkpoint sa se vada doar de la o aumita distanta ? ex, daca e la 50metri , sa ii apara pct rosu pe minimap , sau sa nu mai apara deloc pct ala rosu :)
Link to comment
Share on other sites
7 answers to this question
Recommended Posts