Hallo Community!
Ich bin grad dabei ein Arena System zu erstellen und dass wenn er in einer Arena ist und aus dem Fahrzeug rausgeht das er wieder in Ls sozusagen ist.
Hab das so gemacht
/*if(dialogid==DIALOG_ARENA)
{
if(response==0)
{
}
if(response==1)
{
if(listitem==0)
{
SetPlayerPos(playerid,-975.975708,1060.983032,1345.671875);
SetPlayerInterior(playerid,10);
CreateVehicle(464,-975.975708,1060.983032,1345.671875);
PutPlayerInVehicle(playerid,vehicleid,0);
if(GetPlayerOutOfVehicle(playerid));
{
SetPlayerPos(playerid,2692.4824,-1697.4353,10.4942);
SetPlayerFacingAngle(playerid,48.5262);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
}
if(listitem==1)
{
SetPlayerPos(playerid,-1398.065307,-217.028900,1051.115844);
SetPlayerInterior(playerid,7);
CreateVehicle(504,-1398.065307,-217.028900,1051.115844);
PutPlayerInVehicle(playerid,vehicleid,0);
if(GetPlayerOutOfVehicle(playerid));
{
SetPlayerPos(playerid,2692.4824,-1697.4353,10.4942);
SetPlayerFacingAngle(playerid,48.5262);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
}
if(listitem==2)
{
SetPlayerPos(playerid,-1398.103515,937.631164,1036.479125);
SetPlayerInterior(playerid,15);
CreateVehicle(556,-1398.103515,937.631164,1036.479125);
PutPlayerInVehicle(playerid,vehicleid,0);
if(GetPlayerOutOfVehicle(playerid));
{
SetPlayerPos(playerid,2692.4824,-1697.4353,10.4942);
SetPlayerFacingAngle(playerid,48.5262);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
}
if(listitem==3)
{
SetPlayerPos(playerid,-1444.645507,-664.526000,1053.572998);
SetPlayerInterior(playerid,4);
CreateVehicle(504,-1444.645507,-664.526000,1053.572998);
PutPlayerInVehicle(playerid,vehicleid,0);
if(GetPlayerOutOfVehicle(playerid));
{
SetPlayerPos(playerid,2692.4824,-1697.4353,10.4942);
SetPlayerFacingAngle(playerid,48.5262);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
}
if(listitem==4)
{
SetPlayerPos(playerid,-1465.268676,1557.868286,1052.531250);
SetPlayerInterior(playerid,14);
CreateVehicle(468,-1465.268676,1557.868286,1052.531250);
PutPlayerInVehicle(playerid,vehicleid,0);
if(GetPlayerOutOfVehicle(playerid));
{
SetPlayerPos(playerid,2692.4824,-1697.4353,10.4942);
SetPlayerFacingAngle(playerid,48.5262);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid,0);
}
}
return 1;
}
return 1;
}*/
aber das kommt das
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2139) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2139) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2139) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2139) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2140) : error 017: undefined symbol "vehicleid"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2141) : error 017: undefined symbol "GetPlayerOutOfVehicle"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2141) : error 036: empty statement
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2153) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2154) : error 017: undefined symbol "vehicleid"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2155) : error 017: undefined symbol "GetPlayerOutOfVehicle"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2155) : error 036: empty statement
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2167) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2167) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2167) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2167) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2168) : error 017: undefined symbol "vehicleid"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2169) : error 017: undefined symbol "GetPlayerOutOfVehicle"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2169) : error 036: empty statement
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2181) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2181) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2181) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2181) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2182) : error 017: undefined symbol "vehicleid"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2183) : error 017: undefined symbol "GetPlayerOutOfVehicle"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2183) : error 036: empty statement
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2195) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2195) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2195) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2195) : warning 202: number of arguments does not match definition
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2196) : error 017: undefined symbol "vehicleid"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2197) : error 017: undefined symbol "GetPlayerOutOfVehicle"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2197) : error 036: empty statement
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2842) : warning 203: symbol is never used: "azexit"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2842) : warning 203: symbol is never used: "gsexit"
C:\Users\Andreas\Desktop\samp03x_svr_R1-2_win32\gamemodes\mysql.pwn(2842) : warning 203: symbol is never used: "vagosexit"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
15 Errors.
hoffe das mir endlich mal einer helfen kann
Mit freundlichen Grüßen
Schokodonut