Server Freeze after send command
#1

This is the command:
pawn Код:
CMD:comprarpatente(playerid, params[])
{
    if(Logueado[playerid] == 0) return SendClientMessage(playerid, -1, "{47D751}« ! » {FFFFFF}No estas logueado");
    if(PlayerVCantidad[playerid] == 0) return SendClientMessage(playerid, -1, "{47D751}« ! » {FFFFFF}No tienes vehiculos");
    new string[28], pv = 1;
    while(pv < MAX_PLAYER_VEHICLES)
    {
        if(validcar[PlayerVehicle[playerid][pv]])
        {
            format(string, sizeof(string), "Numero: %d || Vehicleid: %d", pv, PlayerVehicle[playerid][pv]);
            SendClientMessage(playerid, -1, string);
            pv ++;
        }
    }
    return 1;
}
Any idea? Thanks
Reply


Messages In This Thread
Server Freeze after send command - by FullCircle - 28.07.2014, 02:31
Re: Server Freeze after send command - by Pulsefire - 28.07.2014, 03:09
Re: Server Freeze after send command - by BroZeus - 28.07.2014, 05:55
Respuesta: Re: Server Freeze after send command - by FullCircle - 28.07.2014, 14:42
Respuesta: Re: Server Freeze after send command - by FullCircle - 28.07.2014, 15:03

Forum Jump:


Users browsing this thread: 1 Guest(s)