Hallo,
ich bins malwieder
Ich hab nun folgendes Problem:
Das ist das Was im Compiler rauskommt:
C:\Users\Nico\Desktop\GTA SAMP\gamemodes\V3.6final_by_grcflip.pwn(25686) : error 012: invalid function call, not a valid address
C:\Users\Nico\Desktop\GTA SAMP\gamemodes\V3.6final_by_grcflip.pwn(25686) : warning 215: expression has no effect
C:\Users\Nico\Desktop\GTA SAMP\gamemodes\V3.6final_by_grcflip.pwn(25686) : error 001: expected token: ";", but found ")"
C:\Users\Nico\Desktop\GTA SAMP\gamemodes\V3.6final_by_grcflip.pwn(25686) : error 029: invalid expression, assumed zero
C:\Users\Nico\Desktop\GTA SAMP\gamemodes\V3.6final_by_grcflip.pwn(25686) : fatal error 107: too many error messages on one line
Hier der ausschnitt:
if(strcmp(cmd,"/job",true)==0)
{
if(IsPlayerConnected(playerid))
{
new gPlayerJob[MAX_PLAYERS];
if(gPlayerJob[playerid] == 1)
{
SendClientMessage(playerid, COLOR_WHITE, "Der Punkt wurde von deiner Karte entfernt!");
DisablePlayerCheckpoint(playerid);
gPlayerJob(playerid) = 1; ///<----Hier Linie 25686
}
else
{
new Interior = GetPlayerInterior(playerid);
if(Interior == 15)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_LIGHTRED, "|____ Hier kannst du einen Beruf suchen! ____|");
SendClientMessage(playerid, COLOR_LIGHTRED, "Der Befehl lautet: /job <name>");
SendClientMessage(playerid, COLOR_YELLOW2, "1. Autodieb 8. Drogenhändler");
SendClientMessage(playerid, COLOR_YELLOW2, "2. Autohändler 9. Bodyguard");
SendClientMessage(playerid, COLOR_YELLOW2, "3. Waffenhändler 10. Busfahrer");
SendClientMessage(playerid, COLOR_YELLOW2, "4. Mechaniker 11. Hure");
SendClientMessage(playerid, COLOR_YELLOW2, "5. Dedektiv 12. Lieferant (kein fester Beruf)");
SendClientMessage(playerid, COLOR_YELLOW2, "6. Anwalt 13. Boxer");
SendClientMessage(playerid, COLOR_YELLOW2, "7. Zeitungsjunge 14. Zugfahrer");
return 1;
}
...
...
...