Code
gamemodes\ilovedm.pwn(1938) : error 029: invalid expression, assumed zero
gamemodes\ilovedm.pwn(1938) : warning 215: expression has no effect
gamemodes\ilovedm.pwn(1938) : error 001: expected token: ";", but found ")"
gamemodes\ilovedm.pwn(1938) : error 029: invalid expression, assumed zero
gamemodes\ilovedm.pwn(1938) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Code
}
if(IsPlayerAnAdmin(p,1)){
if(TVInfo[p][istv]==1){
if(TVInfo[p][tvdeath]==1 && GetPVarInt(TVInfo[p][tvplayer],"death") !=1){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvdeath]=0;
}else if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer]) && TVInfo[p][tvstate]!=1){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
TVInfo[p][tvstate]=1;
}else if(!IsPlayerInAnyVehicle(TVInfo[p][tvplayer]) && TVInfo[p][tvstate]!=0){
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
TVInfo[p][tvstate]=0;
}else if(GetPVarInt(TVInfo[p][tvplayer],"arena") != TVInfo[p][tvarena]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvarena] = GetPVarInt(TVInfo[p][tvplayer],"arena");
}else if(GetPVarInt(TVInfo[p][tvplayer],"1o1") != TVInfo[p][tv1o1]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tv1o1] = GetPVarInt(TVInfo[p][tvplayer],"1o1");
}else if(GetPVarInt(TVInfo[p][tvplayer],"skinauswahl") != TVInfo[p][tvskinauswahl]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvskinauswahl] = GetPVarInt(TVInfo[p][tvplayer],"skinauswahl");
}else if(GetPVarInt(TVInfo[p][tvplayer],"fraktionskinauswahl") != TVInfo[p][tvfrakskinauswahl]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvfrakskinauswahl] = GetPVarInt(TVInfo[p][tvplayer],"fraktionskinauswahl");
}else if(GetPlayerInterior(TVInfo[p][tvplayer]) != TVInfo[p][tvint]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvint] = GetPlayerInterior(TVInfo[p][tvplayer]);
}else if(GetPlayerVirtualWorld(TVInfo[p][tvplayer]) != TVInfo[p][tvvir]){
if(IsPlayerInAnyVehicle(TVInfo[p][tvplayer])){
PlayerSpectateVehicleEx(p,GetPlayerVehicleID(TVInfo[p][tvplayer]));
}else{
PlayerSpectatePlayerEx(p,TVInfo[p][tvplayer]);
}
TVInfo[p][tvvir] = GetPlayerVirtualWorld(TVInfo[p][tvplayer]);
}
UpdateTVInfo(p,TVInfo[p][tvplayer]);
}
}
}
Alles anzeigen
Kann mir wer helfen bitte?