Hallo Leute,
Ich wollte mall fragen ob ihr mir das tor scripten könntet für GF
CreateObject(980, 1245.5, -767.099609375, 93.900001525879, 0, 0, 0);//Zu CreateObject(980, 1245.5, -767.09997558594, 87.599998474121, 0, 0, 0);//Auf
MFG
Maxxe
Hallo Leute,
Ich wollte mall fragen ob ihr mir das tor scripten könntet für GF
CreateObject(980, 1245.5, -767.099609375, 93.900001525879, 0, 0, 0);//Zu CreateObject(980, 1245.5, -767.09997558594, 87.599998474121, 0, 0, 0);//Auf
MFG
Maxxe
Fast ganz obennew DasTor;
OnGameModeInit
DasTor = CreateObject(980, 1245.5, -767.099609375, 93.900001525879, 0, 0, 0);//Zu
OnPlayerCommandText:
if(strcmp(cmd, "/wasistneu", true) == 0)
{
MoveObject(DasTor,1245.5, -767.09997558594, 87.599998474121,2.0);SetTimer("TorZu",7000,0); //Timer mit 7 Sekunden, 0 = keine Wiederholung
return 1;
}
irgendwo
forward TorZu();
public TorZu()
{
MoveObject(DasTor,1245.5, -767.09997558594, 93.599998474121,2.0);
return 1;
}
bekomme 6 errors
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(9249) : error 010: invalid function or declaration
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(9252) : error 010: invalid function or declaration
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18031) : warning 217: loose indentation
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18031) : error 029: invalid expression, assumed zero
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18031) : error 017: undefined symbol "TorZu"
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18032) : error 029: invalid expression, assumed zero
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18032) : error 017: undefined symbol "TorZu"
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18035) : warning 217: loose indentation
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18040) : warning 225: unreachable code
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18040) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
if(strcmp(cmd, "/htor", true) == 0)
return 1;
forward TorZu();
public TorZu()
weißt du was das sein könnte?
ersteinmal ganz oben
#pragma tabsize 0
errors bleiben -.-
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(9250) : error 010: invalid function or declaration
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(9253) : error 010: invalid function or declaration
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18032) : error 029: invalid expression, assumed zero
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18032) : error 017: undefined symbol "TorZu"
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18033) : error 029: invalid expression, assumed zero
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18033) : error 017: undefined symbol "TorZu"
C:\Users\Maxi\Desktop\Smoke Reallife\gamemodes\smoke.pwn(18041) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.