05.08.2012, 13:22
if(IsTrailerAttachedToVehicle(vID))
{
MissionStatus[playerid] = 1;
new MisRand = random(sizeof(MisLocations));
new LoadText[128], Float, Float:y, Float:z;
x = MisLocations[MisRand][LoadX];
y = MisLocations[MisRand][LoadY];
z = MisLocations[MisRand][LoadZ];
unx[playerid] = MisLocations[MisRand][UnloadX];
uny[playerid] = MisLocations[MisRand][UnloadY];
unz[playerid] = MisLocations[MisRand][UnloadZ];
iPay[playerid] = MisLocations[MisRand][Pay];
SetPlayerCheckpoint(playerid, x, y, z, 7);
format(LoadText, 128, "%s",MisLocations[MisRand][LoadName]);
SendClientMessage(playerid, COLOR_GREEN, "Mission:");
SendClientMessage(playerid, COLOR_GREEN, "_____________________");
SendClientMessage(playerid, COLOR_GREEN, "");
SendClientMessage(playerid, 0xFFFFFFFF, LoadText);
SendClientMessage(playerid, COLOR_GREEN, "_____________________");
}
errors are
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(239) : error 020: invalid symbol name ""
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : warning 215: expression has no effect
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
plz fix them for me
{
MissionStatus[playerid] = 1;
new MisRand = random(sizeof(MisLocations));
new LoadText[128], Float, Float:y, Float:z;
x = MisLocations[MisRand][LoadX];
y = MisLocations[MisRand][LoadY];
z = MisLocations[MisRand][LoadZ];
unx[playerid] = MisLocations[MisRand][UnloadX];
uny[playerid] = MisLocations[MisRand][UnloadY];
unz[playerid] = MisLocations[MisRand][UnloadZ];
iPay[playerid] = MisLocations[MisRand][Pay];
SetPlayerCheckpoint(playerid, x, y, z, 7);
format(LoadText, 128, "%s",MisLocations[MisRand][LoadName]);
SendClientMessage(playerid, COLOR_GREEN, "Mission:");
SendClientMessage(playerid, COLOR_GREEN, "_____________________");
SendClientMessage(playerid, COLOR_GREEN, "");
SendClientMessage(playerid, 0xFFFFFFFF, LoadText);
SendClientMessage(playerid, COLOR_GREEN, "_____________________");
}
errors are
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(239) : error 020: invalid symbol name ""
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : warning 215: expression has no effect
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 001: expected token: ";", but found "]"
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Owner\Desktop\SAMP03~1\GAMEMO~1\trucki ng.pwn(241) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
plz fix them for me