02.11.2015, 10:44
Код 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
Код 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; }