Author Topic: help!!!  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Offline masteraid

  • Street Thug
  • *
  • Posts: 8
  • r u a scripter?plz pm me for joinin meta-servers
    • View Profile
    • meta-servers
help!!!
« on: June 10, 2011, 08:06:14 pm »
how can i add this to my server;
[pawn]   else if (strcmp(cmd, "getall", true) == 0) {
      tmp = strtok(cmdtext, idx);
      if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first");
      else if(!IsPlayerCommandLevel(playerid,"bring")) SendClientMessage(playerid, COLOR_RED, "You don't have acces to this command!");
      else { new Float:x, Float:y, Float:z, szMsg[256];
      for(new i = 0; i <= MAX_PLAYERS; i++) {
      if(IsPlayerConnected(i) == 1)
      GetPlayerPos(playerid,x,y,z);
      SetPlayerPos(i,x,y + 1.0,z,0,0);
      format(szMsg,sizeof(szMsg),"Admin:[ %s ] brought all people to him",gPlayers[playerid]);
             SendClientMessage(i,COLOR_GREEN, szMsg);
}
}
 return 1;
}[/pawn]how do i install it?
thx
lol
plz join meta-servers!

meta-servers.co.cc
we need scipters! pm me if  u r one!