16.06.2012, 07:06
~ ALREADY REMOVE ~
if (strcmp("/enter", cmdtext, true, 10) == 0))
if(IsPlayerInRangeOfPoint(playerid,10,1083.0128,-1226.7743,15.8203)) // First HQ
{
SetPlayerPos(playerid,446.5391,508.0998,1001.4195) ;
SetPlayerInterior(playerid, 12);
SetPlayerFacingAngle(playerid,357.0036);
SetCameraBehindPlayer(playerid);
Create3DTextLabel("First HQ", 0x008080FF, 1083.0128,-1226.7743,15.8203, 40.0, 0, 0);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,10,1462.1792,-1011.1504,26.843) // Bank
{
SetPlayerPos(playerid,2306.3750,-16.0178,26.7496);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid,270.3622);
SetCameraBehindPlayer(playerid);
Create3DTextLabel("Bank", 0x008080FF, 1462.1792,-1011.1504,26.843, 40.0, 0, 0);
return 1;
}
if(IsPlayerInRangeOfPoint(playerid,10,2326.9063,-1681.9424,14.9297)) // Joels House
{
SetPlayerPos(playerid,1523.509887,-47.821197,1002.130981);
SetPlayerInterior(playerid, 2);
SetPlayerFacingAngle(playerid,355.8593);
SetCameraBehindPlayer(playerid);
Create3DTextLabel("Joels House", 0x008080FF, 32326.9063,-1681.9424,14.9297, 40.0, 0, 0);
return 1;
}
return 0;