Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Comanda
- CMD:derby(playerid, params[]) {
- if(DerbyStatus == 1) return SCM(playerid, -1, "Derby Inceput!");
- TogglePlayerControllable(playerid, 0);
- SetPlayerVirtualWorld(playerid, 1337);
- SetVehicleVirtualWorld(DerbyEvent[DerbyPlayers], 1337);
- PutPlayerInVehicle(playerid, DerbyEvent[DerbyPlayers], 0);
- DerbyVehicle[playerid] = DerbyEvent[DerbyPlayers];
- DerbyPlayers++;
- InDerby[playerid] = 1;
- new string[128];
- format(string, sizeof(string), "%s a intrat in arena derby!", GetName(playerid));
- SendDerby(COLOR_YELLOW, string);
- return 1;
- }
- // Linia problema de la care imi da eroare este aceasta .
- DerbyVehicle[playerid] = DerbyEvent[DerbyPlayers];
- // Erorile .
- error 028: invalid subscript (not an array or too many subscripts): "DerbyVehicle"
- warning 215: expression has no effect
- error 001: expected token: ";", but found "]"
- error 029: invalid expression, assumed zero
- fatal error 107: too many error messages on one line
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement