20.07.2011, 19:54
i specified line's And Lines :
Quote:
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! |