hallo leute! hab ein problem unzwar hab ich das gemacht:
if (strcmp("/enter", cmdtext, true, 10) == 0)
{
IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656);
{
SetPlayerPos(playerid,2496.0500,-1692.9301,1014.7422);
SetPlayerInterior(playerid, 3);
return 1;
}
}
und das:
if (strcmp("/exit", cmdtext, true, 10) == 0)
{
IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422);
{
SetPlayerPos(playerid,2495.3301,-1690.2500,14.7656);
SetPlayerInterior(playerid, 0);
return 1;
}
}
alles klappt einwandfrei... nur kann ich diese commands überall machen und nicht an den angegeben stellen:
IsPlayerInRangeOfPoint(playerid,0,2495.3301,-1690.2500,14.7656);
IsPlayerInRangeOfPoint(playerid,0,2496.0500,-1692.9301,1014.7422);