28.08.2013, 14:49
Bom dia, estou quebrando a cabeзa aqui, adicionei uns maps de parkour.. mas parece depois dessa alteraзгo o FS de adm "ladm" ficou inativo ele carrega no log porйm nгo carrega no servidor
adicionei os seguintes:
Atй ai tudo bem, mas nгo executa nenhum comando do ladmin (FS DE ADM)
adicionei os seguintes:
pawn Код:
if(strcmp(cmdtext, "/trackmania", true) == 0 || strcmp(cmdtext, "/trcm", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Trackmania{FF9000}( /Trackmania )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid,-5699.4355,2783.8037,9.3207);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}
if(strcmp(cmdtext, "/pnrg", true) == 0 || strcmp(cmdtext, "/parkournrg", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Parkour NRG-500{FF9000}( /pnrg )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid,-2245.6714,-1718.3846,480.3323);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}
if(strcmp(cmdtext, "/pkr1", true) == 0 || strcmp(cmdtext, "/parkour1", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Parkour Ls 1{FF9000}( /pkr1 )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid,1531.47973600,-1359.22656300,328.45034800);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}
if(strcmp(cmd, "/pkr2", true) == 0 || strcmp(cmd, "/parkour2", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(EventoProibirTele == true && NoEvento[playerid] == 1 && EventoAtivo == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[3]);
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Parkour Ls 2{FF9000}( /pkr2 )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid,1675.8073,-1344.2089,158.4766);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}
if(strcmp(cmd, "/pkr3", true) == 0 || strcmp(cmd, "/parkour3", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(EventoProibirTele == true && NoEvento[playerid] == 1 && EventoAtivo == 1) return SendClientMessage(playerid, COLOUR_ERRO, StringTable[3]);
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Parkour Ls 3{FF9000}( /pkr3 )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid, 3238.1104,-1383.9398,11.2266);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}
if(strcmp(cmd, "/pkr4", true) == 0 || strcmp(cmd, "/parkour4", true) == 0 ) {
if(!IsPlayerSpawned(playerid)){return 1;}
if(ChecarAntiFlood(playerid)) return AntiFloodMsg(playerid);
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi Para Parkour LS 4{FF9000}( /pkr4 )", pname);
SendClientMessageToAll(-1, string);
SetPlayerInterior(playerid,0);if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER){
SetVehicleZAngle(GetPlayerVehicleID(playerid), 277.7560);}else{
SetPlayerPos(playerid, 1172.6533,-2063.4160,432.7214);SetCameraBehindPlayer(playerid);
SetPlayerFacingAngle(playerid,277.7560);}
SetCameraBehindPlayer(playerid);
ProgramarAntiFlood(playerid);
return 1;}