03.10.2011, 14:43
pawn Код:
#define INTB_DILLIMORE 0
#define SPOT_GS_DILLIMORE 4
return 1;
}
if(spot[playerid] == SPOT_GS_DILLIMORE) // General Store Dillimore Enter
{
SetPlayerPos(playerid,-25.1320,-139.0662,1003.5469);
SetPlayerInterior(playerid,16);
SetPlayerFacingAngle(playerid,0.0000);
int_b[playerid] = INTB_DILLIMORE;
}
if(int_b[playerid] == INTB_DILLIMORE && GetPlayerInterior(playerid) == 16) // General Store Dillimore Exit
{
SetPlayerPos(playerid,690.0602,-546.5984,16.3359);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid,91.9041);
int_b[playerid] = INTB_NONE;
}
else if(IsPlayerInSphere(i,691.5836,-546.8424,16.3359,2)) // General Store [DILLIMORE]
{
GameTextForPlayer(i,"~b~General Store~y~:~w~ dillimore~n~~w~use ~y~/~w~enter ~y~/~w~exit",1200, 3);
spot[i] = SPOT_GS_DILLIMORE;
}