if (strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerToPoint(5.0,playerid,2446.6868,2376.5144,12.1635))
{
SetPlayerPos(playerid,389.0762,173.7839,1008.3828);
SetPlayerInterior(playerid, 3);
}
else if(PlayerToPoint(5.0,playerid,2287.1067,2432.2983,10.8203))
{
SetPlayerPos(playerid,288.745971,169.350997,1007.171875);
SetPlayerInterior(playerid, 3);
}
return 1;
}
Wenn ich eine befehl nur für eine Fraktion mach sprich vagos oder so muss das dann so aussehen?
else if(PlayerToPoint(5.0,playerid,2287.1067,2432.2983,10.8203))
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
{
SetPlayerPos(playerid,-25.132598,-139.066986,1003.546875);
SetPlayerInterior(playerid, 16);
}
Muss ich das so wie da unten machen?
hmm
Brauche Hilfe Bitte MfG