Scripting help
#10

pawn Код:
CMD:getall(playerid, params[])
{
    if(pInfo[playerid][pAdmin] < 1) return 1;
    new Float:pos[3];
    GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
    for(new i = GetMaxPlayers() - 1; i != -1; i--)
    {
        if(!IsPlayerConnected(i) || IsPlayerNPC(i)) continue;
        SetPlayerPos(i, pos[0], pos[1], pos[2]);
    }
    return 1;
}
Reply


Messages In This Thread
Scripting help - by kirostar - 02.07.2014, 04:14
Re: Scripting help - by awsomedude - 02.07.2014, 04:24
Re: Scripting help - by kirostar - 02.07.2014, 04:31
Re: Scripting help - by awsomedude - 02.07.2014, 04:37
Re: Scripting help - by Lynn - 02.07.2014, 04:38
Re: Scripting help - by kirostar - 02.07.2014, 04:40
Re: Scripting help - by Lynn - 02.07.2014, 04:40
Re: Scripting help - by kirostar - 02.07.2014, 04:48
Re: Scripting help - by Lynn - 02.07.2014, 04:50
Re: Scripting help - by OKStyle - 02.07.2014, 05:03

Forum Jump:


Users browsing this thread: 2 Guest(s)