Pawno stopt working
#6

Quote:
Originally Posted by Jessyy
Посмотреть сообщение
Try this: ... next tine read here about "switch" https://sampwiki.blast.hk/wiki/Control_Structures#switch_2
Код:
    if(dialogid == RIMSMENU)
    {
        if ( response )
        {
            switch ( listitem )
            {
                case 0:
                {
                    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) {
                        SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
                    } else {
                        AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
                        SendClientMessage(playerid, 0xFFFFFFFF, "You have added Gold Rims to your vehicle.");
                    }
                }
                
                case 1:
                {
                    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) {
                        SendClientMessage(playerid, 0xFFFFFFFF, "You are not driving a vehicle.");
                    } else {
                        AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
                        SendClientMessage(playerid, 0xFFFFFFFF, "You have added Cutter Rims to your vehicle.");
                    }
                }
            }
        }
    }
Now I have 26 times this error
Код:
error 017: undefined symbol "ProxDetector"
Reply


Messages In This Thread
Pawno stopt working - by McFellow - 22.07.2012, 17:11
Re: Pawno stopt working - by McFellow - 22.07.2012, 17:37
Re: Pawno stopt working - by Pinguinn - 22.07.2012, 17:39
Re: Pawno stopt working - by Jessyy - 22.07.2012, 17:44
Re: Pawno stopt working - by McFellow - 22.07.2012, 17:46
Re: Pawno stopt working - by McFellow - 22.07.2012, 17:49
Re: Pawno stopt working - by McFellow - 22.07.2012, 18:03
Re: Pawno stopt working - by McFellow - 22.07.2012, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)