carrespawn command
#2

pawn Код:
CMD:cr(playerid, params[])
{
    new S[128];
    if(Account[playerid][Admin] >= 1)
    {
        for(new i_Vehicle; i_Vehicle < MAX_VEHICLES; i_Vehicle++)
        {
            if( !ValakiAKocsiban(i_Vehicle))
            {
                Engine_SET(playerid, i_Vehicle, 0);
                SetVehiclePos(i_Vehicle, Vehicles[i_Vehicle][PosX],Vehicles[i_Vehicle][PosY],Vehicles[i_Vehicle][PosZ]);
                SetVehicleZAngle(i_Vehicle, Vehicles[i_Vehicle][PosA]);
            }
        }
        format(S, sizeof(S), "%s respawnolta a jбrműveket!", GetRoleplayName(playerid));
        SendClientMessageToAll(COLOR_LBLUE, S);
    }
    return 1;
}
You commented out an if statement without commenting its' opening and closing brackets. Either comment out its' opening and closing brackets too or uncomment the if statement.
Reply


Messages In This Thread
carrespawn command - by reddoxx - 01.08.2018, 13:25
Re: carrespawn command - by Rufio - 01.08.2018, 13:27
Re: carrespawn command - by reddoxx - 01.08.2018, 13:35
Re: carrespawn command - by Rufio - 01.08.2018, 13:41
Re: carrespawn command - by Dayrion - 01.08.2018, 14:21
Re: carrespawn command - by reddoxx - 01.08.2018, 14:58
Re: carrespawn command - by Rufio - 01.08.2018, 15:18
Re: carrespawn command - by reddoxx - 01.08.2018, 16:18
Re: carrespawn command - by Dayrion - 01.08.2018, 17:02
Re: carrespawn command - by reddoxx - 02.08.2018, 11:42

Forum Jump:


Users browsing this thread: 1 Guest(s)