[Ajuda] teleporte so para admin
#2

posta sua varialvel de admin '-'

caso queira sу pra admin rcon

pawn Код:
if(strcmp(cmdtext,"/admprof",true)==0)
{
   new vehicleid = GetPlayerVehicleID(playerid);
   new State = GetPlayerState(playerid);
   if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "voce nгo й adm rcon...");
   if(IsPlayerInAnyVehicle(playerid) && State == PLAYER_STATE_DRIVER)
   {
      GameTextForPlayer(playerid,"Bem vindo admins",4000,6);
      return SetVehiclePos(vehicleid,1138.8042,-1760.5007,13.5942);
   }
   SetPlayerPos(playerid,1138.8042,-1760.5007,13.5942);
   GameTextForPlayer(playerid,"Bem vindo admins",4000,6);
   return 1;
}
Reply


Messages In This Thread
teleporte so para admin - by chefaoBR - 09.06.2014, 22:09
Re: teleporte so para admin - by DoN_ReNaTo - 09.06.2014, 22:21
Re: teleporte so para admin - by MultiKill - 09.06.2014, 22:22
Re: teleporte so para admin - by chefaoBR - 09.06.2014, 22:28

Forum Jump:


Users browsing this thread: 2 Guest(s)