I need some help with a couple of things.
#4

Quote:
Originally Posted by pryor94
Посмотреть сообщение
pawn Код:
if (strcmp("/Nrgparkour1", cmdtext, true, 4) == 0)
    {
        if(DMZone[playerid] == 1) return SendClientMessage(playerid,red,"Error: You're in DM area, type /leavedm to leave Dm Area ");
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    ResetPlayerWeapons(playerid);
    SetVehiclePos(GetPlayerVehicleID(playerid),-2592.12,1394.35,7.18);
    }else
    {
        SetPlayerPos(playerid, -2592.12,1394.35,7.18);
        SendClientMessage(playerid, 0xFF0000FF, "Nrg Parkour 1");
    }
    return 1;

    if (strcmp("/Nrgparkour2", cmdtext, true, 4) == 0)
    {
        if(DMZone[playerid] == 1) return SendClientMessage(playerid,red,"Error: You're in DM area, type /leavedm to leave Dm Area ");
        if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
    ResetPlayerWeapons(playerid);
    SetVehiclePos(GetPlayerVehicleID(playerid),-2592.12,1394.35,7.18);//this line!!! change coords
    }else
    {
        SetPlayerPos(playerid, -2592.12,1394.35,7.18);
        SendClientMessage(playerid, 0xFF0000FF, "Nrg Parkour 2");
    }
    return 1;
you are ending up in same area coz of the coords duh.... Open your eyes!
Your nrg parkour 1 coords = -2592.12,1394.35,7.18
you nrg parkour 2 is same? change the coords of nrg parkour 2
Reply


Messages In This Thread
I need some help with a couple of things. - by pryor94 - 18.08.2010, 22:59
Re: I need some help with a couple of things. - by akis_tze - 18.08.2010, 23:44
Re: I need some help with a couple of things. - by Anthonyx3' - 18.08.2010, 23:48
Re: I need some help with a couple of things. - by [MNC]Azz - 20.08.2010, 10:28

Forum Jump:


Users browsing this thread: 2 Guest(s)