Jo moin, wollt ein sys basteln wo wen man kein pass hat in ls dan 2 wtds bekommt
code
forward keinpass(playerid);
public keinpass(playerid)
{
if(GangZoneCreate(1037,328, -2664,85, 2923,534, -698,8743)|| GangZoneCreate(139,8584, -2664,85, 2037,474, -694,9265);
{
if(PlayerInfo[playerid][Lspass] == 0)
{
PlayerInfo[playerid][pWanteds] += 2;
{
SendClientMessage(playerid, COLOR_ORANGE, "Du bist in die Stadt Los Santos eingebrochen. Besorge dir schnell einen pass den die Polizei sucht dich");
}
}
}
errors
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : warning 202: number of arguments does not match definition
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : error 001: expected token: ")", but found ";"
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5658) : error 036: empty statement
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5660) : error 017: undefined symbol "Lspass"
C:\Users\Mario\Desktop\samp03asvr_R7_win32\gamemodes\Reallife.pwn(5668) : error 030: compound statement not closed at the end of file (started at line 5658)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Heelp schnell, wen man in den gangzonen ist soll dan überprüft werden ob er nen pass hat, dan wen ned soll er 2 wanteds bekommen
lg
/edit warnings weg, habe ,,,, gemacht aber es mus .,., =)