YOU ARE GÖTTLICH! TXH RESPEKT!!!
Kleinere Version :D:
YOU ARE GÖTTLICH! TXH RESPEKT!!!
YOU ARE GÖTTLICH! TXH RESPEKT!!!
Kleinere Version :D:
YOU ARE GÖTTLICH! TXH RESPEKT!!!
Geht aber nicht
Jetzt brauch ich totale Experten
if (strcmp(cmd, "/torauf", true) ==0 ) //339
{ //340
MoveObject(971, 1016.828918, -921.834167, 33.521324); //341
SetTimer("TorX",500,1); //342
SendClientMessage(playerid,0x33CC00FF,"Nach 5 Sekunden ist dein Tor zu!"); //343
return 1; //345
}
Nur noch zwei errors. Komm zombie.modder, du schaffst das
hilfe wäre nicht schlecht^^ *BFX anguck*
D:\GTASAN~2\GAMEMO~1\UF.pwn(338) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(344) : error 010: invalid function or declaration
338
if (strcmp("/torauf", cmdtext, true, 10) == 0) //339
344
return 1; //345
Die gleichen errors.
Vllt. poste ich die Funktion vor 337:
if(strcmp("/del", cmdtext, true, 10) == 0)
if(IsPlayerAdmin(playerid))
{
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, " ");
SendClientMessageToAll(0x33CC00FF, "Cleared!");
C:/Programme/MTA San Andreas/mods/map_editor (oder editor)/maps
Ist für XP^^
Bei Vista is es anders^^
ZitatD:\GTASAN~2\GAMEMO~1\UF.pwn(337) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(339) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(345) : error 010: invalid function or declaration
3 Erros.
return 1; //337
} //338
if (strcmp("/torauf", cmdtext, true, 10) == 0) //339
{ //340
MoveObject(971, 1016.828918, -921.834167, 33.521324); //341
SetTimer("TorX",500,1); //342
SendClientMessage(playerid,0x33CC00FF,"Nach 5 Sekunden ist dein Tor zu!"); //343
} //344
return 1; //345
Ich habe paar Fehler beseitigt. Kommen nur noch 3:
D:\GTASAN~2\GAMEMO~1\UF.pwn(4) : warning 201: redefinition of constant/macro (symbol "COLOR")
D:\GTASAN~2\GAMEMO~1\UF.pwn(5) : warning 201: redefinition of constant/macro (symbol "COLOR")
D:\GTASAN~2\GAMEMO~1\UF.pwn(54) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(60) : warning 202: number of arguments does not match definition
D:\GTASAN~2\GAMEMO~1\UF.pwn(181) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(203) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(234) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(337) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(339) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(346) : error 010: invalid function or declaration
D:\GTASAN~2\GAMEMO~1\UF.pwn(411) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(428) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(173) : warning 204: symbol is assigned a value that is never used: "TorX"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
337 und bisschen drum rum (return 1; ist Zeile 337)
339 ist auch drin
}
return 1;
if (strcmp("/torauf", cmdtext, true, 10) == 0) //399
346:
return 1;
Bitte hilft mir
if (strcmp("/torauf", cmdtext, true, 10) == 0)
{
MoveObject(971, 1016.828918, -921.834167, 33.521324);
SetTimer("Tor",500,1);
SendClientMessage(playerid,0x33CC00FF,"Nach 5 Sekunden ist dein Tor zu!");
}
return 1;
}
Zuletzt war ich da daran.
(Achja: Der CMD funktioniert nit.)
Selbst mappen (immernoch am besten)
(Alternative im sa-mp.com forum oder hier im Showroom)
ZitatAlles anzeigenD:\GTASAN~2\GAMEMO~1\UF.pwn(4) : warning 201: redefinition of constant/macro (symbol "COLOR")
D:\GTASAN~2\GAMEMO~1\UF.pwn(5) : warning 201: redefinition of constant/macro (symbol "COLOR")
D:\GTASAN~2\GAMEMO~1\UF.pwn(53) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(59) : warning 202: number of arguments does not match definition
D:\GTASAN~2\GAMEMO~1\UF.pwn(180) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(202) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(233) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(339) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(341) : warning 202: number of arguments does not match definition
D:\GTASAN~2\GAMEMO~1\UF.pwn(342) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(351) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(351) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(351) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(351) : error 004: function "OnPlayerInfoChange" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(356) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(356) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(356) : error 004: function "OnPlayerEnterVehicle" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(361) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(361) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(361) : error 004: function "OnPlayerExitVehicle" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(366) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(366) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(366) : error 004: function "OnPlayerStateChange" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(371) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(371) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(371) : error 004: function "OnPlayerEnterCheckpoint" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(376) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(376) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(376) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(381) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(381) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(381) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(386) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(386) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(386) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(391) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(391) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(391) : error 004: function "OnRconCommand" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(397) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(397) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(397) : error 004: function "OnObjectMoved" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(402) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(402) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(402) : error 004: function "OnPlayerObjectMoved" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(407) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(407) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(407) : error 004: function "OnPlayerPickUpPickup" is not implemented
D:\GTASAN~2\GAMEMO~1\UF.pwn(411) : warning 217: loose indentation
D:\GTASAN~2\GAMEMO~1\UF.pwn(414) : warning 225: unreachable code
D:\GTASAN~2\GAMEMO~1\UF.pwn(414) : error 029: invalid expression, assumed zero
D:\GTASAN~2\GAMEMO~1\UF.pwn(414) : error 004: function "OnPlayerSelectedMenuRow" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Ich möchte erstmal nur dass die errors behoben werden.
Den ganzen Script möcht ich nich zeigen
351
public OnPlayerInfoChange(playerid)
356
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
es geht halt immerso weiter, sind alles publics!!
Neues Problem:
D:\GTASAN~2\GAMEMO~1\UF.pwn(171) : error 076: syntax error in the expression, or invalid function call
Tor = CreateObject(971, 1016.828918, -921.834167, 41.521324, 0.0000, 0.0000, 186.9528);
new Tor;
forward Tor();
Vllt. musste was im Script ergänzen?
Einsteins Object streamer z.B will dass ich unter OnGameModeInit, OnGameModeExit und noch iwo was einfüge, lies die Anleitung durch^^
8,5/10
Gefällt mir, wie detaliert das ist
Thx hat funktioniert
Ähm ein bisschen sinnlos oder ?
Für anfänger^^
(bin ja auch noch einer -.-)
Also, ich habe ein paar Fragen, ich habe die Suchfunktion benutzt, alles un übersichtlich.
Deswegen möcht ich ein SammelThread erstellen.
Dieses Thema nützt dazu, die Fragen zu klären, die mit der Struktuirung zu tun haben.
Regel:
Zitieren, wenn eine Antwort!
Die jetztigen Includes und die Funktionen:
-CreateObject (modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ)
-Funktion: Objekte erstellen (ohne Streamer)
-public: OnGameModeInit
-AddStaticVehicle (modelid, Float:spawn_x, Float:spawn_y,Float:spawn_z, Float:angle, color1, color2)
-Funktion: Cars erstellen (~700)
-public: OnGameModeInit
Falls ihr andere wisst, bitte dringend posten.
MfG
loli
//stimt wiederrum