[Help] Last position
#8

pawn Код:
new AWeapons[13][2];
new Float: gPos[MAX_PLAYERS][3];// Global

CMD:afk(playerid)
{
    GetPlayerPos(playerid, gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
    SetPlayerPos(playerid, ...);
        for(new i=0;i<=12;i++)
        {
                 GetPlayerWeaponData(playerid,i,AWeapons[i][0],AWeapons[i][1]);
        }
        ResetPlayerWeapons(playerid);
    // ...
    return 1;
}

CMD:back(playerid)
{
    SetPlayerPos(playerid, gPos[playerid][0], gPos[playerid][1], gPos[playerid][2]);
        for(new i=0;i<=12;i++)
        {
                 GivePlayerWeapon(playerid,AWeapons[i][0],AWeapons[i][1]);
        }
    // ...
    return 1;
}
Reply


Messages In This Thread
[Help] Last position - by Glossy42O - 04.11.2014, 09:14
Re: [Help] Last position - by Stinged - 04.11.2014, 09:28
Re: [Help] Last position - by Glossy42O - 04.11.2014, 09:56
Re: [Help] Last position - by Glossy42O - 04.11.2014, 09:58
Re: [Help] Last position - by Banana_Ghost - 04.11.2014, 10:02
Re: [Help] Last position - by Glossy42O - 04.11.2014, 10:04
Re: [Help] Last position - by Banana_Ghost - 04.11.2014, 10:11
Re: [Help] Last position - by DavidBilla - 04.11.2014, 10:11
Re: [Help] Last position - by Glossy42O - 04.11.2014, 10:26
Re: [Help] Last position - by Banana_Ghost - 04.11.2014, 10:31

Forum Jump:


Users browsing this thread: 1 Guest(s)