Hallo ich habe 2Erros einmal in Admin Script und in Stunt Script
Admin Script::
C:\DOKUME~1\ADMINI~1\Desktop\SAMP0~1.3SE\FILTER~1\madAd.pwn(1415) : error 017: undefined symbol "tmp"
C:\DOKUME~1\ADMINI~1\Desktop\SAMP0~1.3SE\FILTER~1\madAd.pwn(1417) : error 017: undefined symbol "tmp"
C:\DOKUME~1\ADMINI~1\Desktop\SAMP0~1.3SE\FILTER~1\madAd.pwn(1417) : error 017: undefined symbol "cmdtext"
C:\DOKUME~1\ADMINI~1\Desktop\SAMP0~1.3SE\FILTER~1\madAd.pwn(1419) : error 017: undefined symbol "tmp"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeile::
dcmd_v(playerid,params[])
{
new vID;
if(sscanf(params, "d", vID))
{
return SendClientMessage(playerid,COLOR_RED,"Benutzung: /v [Vehicle ID]");
}
if(vID < 400 || vID > 611)
{
return SendClientMessage(playerid,COLOR_RED,"Nur Vehicle-ID's von 400-611 benutzen!");
}
if(SpielerInfo[playerid][alvl]<4)
{
return SendClientMessage(playerid,COLOR_RED,"Du bist kein Admin Level 4!");
}
else
{
new color1;
color1 = strval(tmp);
if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_WHITE, "Color Number can't be below 0 or above 126 !"); return 1; }
tmp = strtok(cmdtext, idx);
new color2;
color2 = strval(tmp);
if(color2 < 0 || color2 > 126) return SendClientMessage(playerid, COLOR_WHITE, "Color Number can't be below 0 or above 126 !");
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
new cv = CreateVehicle(vID, x, y, z, 0, 0xFFFFFFFF, 0xFFFFFFFF, 0);
PutPlayerInVehicle(playerid, cv, 0);
new string[256];
format(string, sizeof(string), "Erfolgreich Vehicle ID %d gespawnt.", vID);
SendClientMessage(playerid, COLOR_RED, string);
}
return 1;
}
Stunt Script::
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(137) : warning 217: loose indentation
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(138 -- 139) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(139) : warning 217: loose indentation
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(139) : error 001: expected token: ";", but found ")"
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(139) : error 029: invalid expression, assumed zero
C:\Dokumente und Einstellungen\Administrator\Eigene Dateien\ICQ\592702554\ReceivedFiles\459342535 Maddin911\StuntDMFun.pwn(139) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Zeile::
if (strcmp("/lsa", cmdtext, true, 10) == 0)
(
if(IsPlayerConnected(playerid))
(
SetPlayerPos(playerid, 1749,-2230.9504,17.6660,177.8370); //Deine Cords
SendClientMessageToAll(playerid, 0xFFFF00AA, "%s ist zu der DM Arena 1 gegangen", sendername);
SetPlayerInterior(playerid,0);
PlayerInfo[playerid][pInt] = 0;
return 1;
}
return 0;
}
MfG Killer