Hey,
als ich den Befehl /explode gerade gescriptet habe, und dann compiled habe,
bekam ich viele Errors von wo ganz anders...
Code
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5940) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5942) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5948) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5952) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5956) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5960) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5963) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5966) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5969) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5972) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5975) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5978) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5980) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5980 -- 5981) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5980 -- 5984) : error 010: invalid function or declaration
C:\Users\Safa\Desktop\maps\gamemodes\gamemode.pwn(5980 -- 5984) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
16 Errors.
Alles anzeigen
Code
cmd = strtok(cmdtext, idx);
if(strcmp(cmd,"/animlist",true)==0)
{
SendClientMessage(playerid,0xAFAFAFAA,"Verfügbare Animationen:");
SendClientMessage(playerid,0xAFAFAFAA,"/handsup /laugh /lookout /robman");
SendClientMessage(playerid,0xAFAFAFAA,"/crossarms /lay /hide /vomit /eat /wave");
SendClientMessage(playerid,0xAFAFAFAA,"/deal /crack /smokem /smokef /groundsit /chat /dance /f**ku");
return 1;
}
// HANDSUP
if(strcmp(cmd, "/handsup", true) == 0 || strcmp(cmd, "/handsup", true) == 0) {
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
TextDrawShowForPlayer(playerid, txtAnimHelper);
InAnim[playerid]=1;
return 1;
}
// Laugh
if (strcmp("/laugh", cmdtext, true) == 0)
{
OnePlayAnim(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0); // Laugh
return 1;
}
// Rob Lookout
if (strcmp("/lookout", cmdtext, true) == 0)
{
OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0); // Rob Lookout
return 1;
}
// Rob Threat
if (strcmp("/robman", cmdtext, true) == 0)
{
LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0); // Rob
return 1;
}
// Arms crossed
if (strcmp("/crossarms", cmdtext, true) == 0)
{
LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1); // Arms crossed
return 1;
}
// Lay Down
if (strcmp("/lay", cmdtext, true, 6) == 0)
Alles anzeigen
An was zur Hölle kann das liegen??
Davor habe ich es auch immer compilet, und da kam nie ein Error