Wollte heute mal eine neue LCN Base Mappen alles gut bis ich zu den Toren kam die sich aufmachen sollten....
Der Befehl funktioniert Ingame nicht und ich kriege diese Fehler im Script Bitte um Hilfe.
C:\Users\PC\Desktop\Script zum Scripten\samp\gamemodes\Reallife.pwn(13116 ) : warning 204: symbol is assigned a value that is never used: "lcntor1"
C:\Users\PC\Desktop\Script zum Scripten\samp\gamemodes\Reallife.pwn(13117 ) : warning 204: symbol is assigned a value that is never used: "lcntor2"
C:\Users\PC\Desktop\Script zum Scripten\samp\gamemodes\Reallife.pwn(13118 ) : warning 204: symbol is assigned a value that is never used: "lcntorw"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
new lcntor1;
new lcntor1var;
new lcntor2;
new lcntor2var;
new lcntorw;
new lcntorwvar;
lcntor1 = CreateDynamicObject(980,705.85760498,-1422.60021973,15.31245422,0.00000000,0.00000000,0.00000000);//object(airportgate) (5)
lcntor2 = CreateDynamicObject(980,649.97235107,-1549.33496094,16.62495422,0.00000000,0.00000000,90.75000000); //object(airportgate) (1)
lcntorw = CreateDynamicObject(980,725.64514160,-1592.38952637,1.84999883,0.00000000,0.00000000,0.00000000); //object(airportgate) (6)
if(strcmp(cmd,"/lcntor1",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntor1var == 0)
{
MoveDynamicObject(lcntor,705.85760498,- 1422.60021973, 15.31245422,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor1var = 1;
}
else
{
MoveDynamicObject(lcntor,717.60455322,- 1422.30126953, 15.31245422,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor1var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
if(strcmp(cmd,"/lcntor2",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntor2var == 0)
{
MoveDynamicObject(lcntor,649.97235107,- 1549.33496094, 16.62495422,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor2var = 1;
}
else
{
MoveDynamicObject(lcntor,649.97235107,- 1549.33496094, 16.62495422,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntor2var = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
if(strcmp(cmd,"/lcntorw",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if(lcntorwvar == 0)
{
MoveDynamicObject(lcntor,725.64514160,- 1592.38952637, 1.84999883,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntorwvar = 1;
}
else
{
MoveDynamicObject(lcntor,737.45214844,- 1591.98388672, 1.84999883,3.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
lcntorwvar = 0;
}
}
else SendClientMessage(playerid,COLOR_RED," Du bist kein LCN Mitglied");
return 1;
}
Danke schonmal im Voraus
Mfg. Meco