[Ayuda] Ambulancias y coches swats
#6

Haber.. lo Puse asi:
Quote:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER))
    {
        switch(GetVehicleModel(GetPlayerVehicleID(playerid))
        {                                         // En esta linea me da error
            case 416:
            {
                SetPlayerHealth(playerid,100.0);
            }
            case 427:
            {
                SetPlayerArmour(playerid,100.0);
            }
        }
    }
    return 1;
}
Pero me da: error 001: expected token: ")", but found "{"
Reply


Messages In This Thread
[Ayuda] Ambulancias y coches swats - by Ghostmen - 07.10.2011, 15:36
Re: [Ayuda] Ambulancias y coches swats - by DreamOnIt - 07.10.2011, 15:49
Respuesta: [Ayuda] Ambulancias y coches swats - by SuperMarioRol - 07.10.2011, 16:01
Respuesta: [Ayuda] Ambulancias y coches swats - by Ghostmen - 07.10.2011, 16:10
Re: [Ayuda] Ambulancias y coches swats - by Miguel - 07.10.2011, 16:14
Respuesta: [Ayuda] Ambulancias y coches swats - by Ghostmen - 07.10.2011, 16:19
Re: Respuesta: [Ayuda] Ambulancias y coches swats - by DreamOnIt - 07.10.2011, 16:22
Respuesta: Re: Respuesta: [Ayuda] Ambulancias y coches swats - by Ghostmen - 07.10.2011, 16:26

Forum Jump:


Users browsing this thread: 1 Guest(s)