Invalide code
#1

Код HTML:
error 002: only a single statement (or expression) can follow each "case"
Код HTML:
error 029: invalid expression, assumed zero
Код HTML:
error 008: must be a constant expression; assumed zero
Код HTML:
warning 215: expression has no effect
Код HTML:
warning 203: symbol is never used: "aumagasin1"
Код HTML:
error 010: invalid function or declaration
X2

Код HTML:
error 054: unmatched closing brace ("}")
Код HTML:
fatal error 107: too many error messages on one line

Код HTML:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    switch(pickupid)
    {
        switch aumagasin1:
        {
     		DestroyPickup(aumagasin1);
		    //CreatePickup(1239, 22, -1833.1565,62.1130,1055.1296, 14);
        }
        switch aumagasin2:
        {
            SendClientMessage(playerid, 0xFFFFFFFF, "Vendeur dit: Bonjour, je peux vous aider ?");
     		DestroyPickup(aumagasin2);
    		toilette1 = CreatePickup(1318, 22, -1839.4929,54.2765,1055.1296);
        }
        switch toilette1:
        {
            DestroyPickup(toilette1);
            //CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296) == frontiere
            frontiere = CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296);
            //SetPlayerCheckpoint(playerid, -1868.6196,46.2699,1055.1296, 3.0);
        }
        switch frontiere:
        {
            SendClientMessage(playerid, 0xFF0000FF,"94 c'est barзa");
     		DestroyPickup(frontiere);
    		passe = CreatePickup(1318, 22, -1868.6437,41.6172,1055.1296);
        }
        switch passe:
        {
            SendClientMessage(playerid,0xFF0000FF,"Circuit du parkour reussi OKLM");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Invalide code - by Sirop - 02.11.2015, 10:44
Re: Invalide code - by AbyssMorgan - 02.11.2015, 11:42
Re: Invalide code - by ATGOggy - 02.11.2015, 11:45
Re : Invalide code - by Sirop - 02.11.2015, 15:49
Re: Invalide code - by AbyssMorgan - 02.11.2015, 15:52
Re: Invalide code - by Vince - 02.11.2015, 15:54
Re : Re: Invalide code - by Sirop - 02.11.2015, 19:28
Re: Invalide code - by AbyssMorgan - 02.11.2015, 19:29
Re : Invalide code - by Sirop - 02.11.2015, 20:37
Re : Invalide code - by Sirop - 03.11.2015, 13:20

Forum Jump:


Users browsing this thread: 1 Guest(s)