Detaljan opis problema: Pa ima nekih errore, inace treba da se napravi da u dialogu bira Spawn i sad evo:
Dio skripte:
case DIALOG_SPAWN: //linija 418
{
if(response)
{
case 0: //linija 422
SpawnPlayer(playerid);
SetPlayerPos(playerid, x, y, z);
SetPlayerSkin(playerid, 7);
}
case 1:
SpawnPlayer(playerid);
SetPlayerPos(playerid, x, y, z);
SetPlayerSkin(playerid, 35);
}
case 2:
SpawnPlayer(playerid);
SetPlayerPos(playerid, x, y, z);
SetPlayerSkin(playerid, 101);
}
case 3:
SpawnPlayer(playerid);
SetPlayerPos(playerid, x, y, z);
SetPlayerSkin(playerid, 299);
}
return 1;
}Errori:
C:\Documents and Settings\User\My Documents\My Documents\Downloads\Matrix Gaming\Hard RP\gamemodes\matrix.pwn(418) : error 040: duplicate "case" label (value 4)
C:\Documents and Settings\User\My Documents\My Documents\Downloads\x Gaming\Hard RP\gamemodes\matrix.pwn(422) : error 014: invalid statement; not in switch
C:\Documents and Settings\User\My Documents\My Documents\Downloads\x Gaming\Hard RP\gamemodes\matrix.pwn(422) : warning 215: expression has no effect
C:\Documents and Settings\User\My Documents\My Documents\Downloads\x Gaming\Hard RP\gamemodes\matrix.pwn(422) : error 001: expected token: ";", but found ":"
C:\Documents and Settings\User\My Documents\My Documents\Downloads\x Gaming\Hard RP\gamemodes\matrix.pwn(422) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\My Documents\My Documents\Downloads\X Gaming\Hard RP\gamemodes\matrix.pwn(422) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
