All pastes #828190 Raw Edit

Something

public text v1 · immutable
#828190 ·published 2007-12-22 08:37 UTC
rendered paste body
        // Ammunation exit
        if(!strcmp(cmdtext, "/exitammunation", true)) {
        SetPlayerInterior(playerid, 0);
        if ( gTeam[playerid] == TEAM_YELLOW && interior == 1 )
        SetPlayerPos(playerid, -44.4967,131.9184,3.1172);
        SendClientMessage(playerid, COLOR_GREEN, "[SUCCESS] You exited the Ammunation shop!");
        SendClientMessage(playerid, COLOR_YELLOW, "[INFO] You're now back to the battle!");
        if ( gTeam[playerid] == TEAM_GREEN && interior == 1 )
        SetPlayerPos(playerid, -110.2855,-102.6964,3.1172);
        interior = GetPlayerInterior(playerid);
        if ( interior != 1 )
        SendClientMessage(playerid, COLOR_RED, "[ERROR] You're not inside a ammunation!");
        return 1;
}