gus Posted May 29, 2011 Report Share Posted May 29, 2011 Salut am facut si eu o comanda de /exit si tot nu imi merge cum doresc eu,imi puteti spune cum sa o fac sa mearga perfect!else if (PlayerToPoint(3.0, playerid,346.870025,309.259033,999.155700)) cordonate interior am pus { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,2024.3586,1006.6971,10.8203); cordonate afara am pus PlayerInfo[playerid][pInt] = 0; PlayerInfo[playerid][pLocal] = 255; }Si Nu il da afara pe jucator acolo unde am pus eu sa fiu afara !? de ce ? Link to comment Share on other sites More sharing options...
NeKeRm@N Posted May 29, 2011 Report Share Posted May 29, 2011 uite[pawn] if(strcmp(cmdtext, "/exit", true) == 0) { { if PlayerToPoint(5,playerid,1964.0659,-352.3321,1092.9454) //ce e subliniat inlocuiesti cu coordonatele tale din interior *then { SetPlayerPos(playerid,1720.2876,-1740.9783,13.5469);//ce e subliniat inlocuiesti tu cu coordonatele tale din exterior SetPlayerInterior(playerid,0); SendClientMessage(playerid,COLOR_1GREEN,"* Ai iesit afara!"); return 1; } } }[/pawn] Link to comment Share on other sites More sharing options...
Question
gus
Salut am facut si eu o comanda de /exit si tot nu imi merge cum doresc eu,imi puteti spune cum sa o fac sa mearga perfect!
else if (PlayerToPoint(3.0, playerid,346.870025,309.259033,999.155700)) cordonate interior am pus
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2024.3586,1006.6971,10.8203); cordonate afara am pus
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pLocal] = 255;
}
Si Nu il da afara pe jucator acolo unde am pus eu sa fiu afara !? de ce ?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts