C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(4779) : warning 217: loose indentation C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(4788) : warning 217: loose indentation C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(20363) : warning 202: number of arguments does not match definition C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(20368) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 7144 bytes Code size: 1384172 bytes Data size: 4602916 bytes Stack/heap size: 16384 bytes; estimated max. usage=4130 cells (16520 bytes) Total requirements: 6010616 bytes 4 Warnings.
if(newcar == 201 || newcar == 202 || newcar == 203 || newcar == 204 || newcar == 205 || newcar == 206 || newcar == 207) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6){ } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu esti membru Groove Street !"); RemovePlayerFromVehicle(playerid); } } if(newcar == 277) { if(TakingLesson[playerid] == 1){} else { SendClientMessage(playerid, COLOR_GREY, " You are not allowed to drive this car !"); RemovePlayerFromVehicle(playerid); } }
//------------------------------------------------[GOTObAnk]------------------------------------- if(strcmp(cmd, "/gotobank", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1460.9790,-1021.4325,23.9616,92.1847); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 1460.9790,-1021.4325,23.9616,92.1847); } SendClientMessage(playerid, 0xA8A8FFFF, " Te-ai teleportat cu Succes !"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu EsTi Admin PenTru A FoLoSi CoManDa AceasTa !"); } } return 1; }
// Bad alignment
if( i == 1 )
{
print( "i = 1" );
print( "i != 2" );
}
// Proper alignment
if( i == 1 )
{
print( "i = 1" );
print( "i != 2" );
}
Code: if(newcar == 201 || newcar == 202 || newcar == 203 || newcar == 204 || newcar == 205 || newcar == 206 || newcar == 207) { if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6){ } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu esti membru Groove Street !"); RemovePlayerFromVehicle(playerid); } } if(newcar == 277) { if(TakingLesson[playerid] == 1){} else { SendClientMessage(playerid, COLOR_GREY, " You are not allowed to drive this car !"); RemovePlayerFromVehicle(playerid); } } and : Code: //------------------------------------------------[GOTObAnk]------------------------------------- if(strcmp(cmd, "/gotobank", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1460.9790,-1021.4325,23.9616,92.1847); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 1460.9790,-1021.4325,23.9616,92.1847); } SendClientMessage(playerid, 0xA8A8FFFF, " Te-ai teleportat cu Succes !"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu EsTi Admin PenTru A FoLoSi CoManDa AceasTa !"); } } return 1; } Please help me! |
SetVehiclePos(tmpcar, 1460.9790,-1021.4325,23.9616);
SetVehicleZAngle(tmpcar,92.1847);
//and
SetPlayerPos(playerid, 1460.9790,-1021.4325,23.9616);
SetPlayerFacingAngle(playerid,92.1847);
//------------------------------------------------[GOTObAnk]------------------------------------- if(strcmp(cmd, "/gotobank", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 2) { if (GetPlayerState(playerid) == 2) { **HERE IS WARNING** new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1460.9790,-1021.4325,23.9616,92.1847); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { **AND HERE IS WARNING** SetPlayerPos(playerid, 1460.9790,-1021.4325,23.9616,92.1847); } SendClientMessage(playerid, 0xA8A8FFFF, " Te-ai teleportat cu Succes !"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, " Nu EsTi Admin PenTru A FoLoSi CoManDa AceasTa !"); } } return 1; }
SetVehiclePos(tmpcar, 1460.9790,-1021.4325,23.9616,92.1847);
SetPlayerPos(playerid, 1460.9790,-1021.4325,23.9616,92.1847);