Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: masteraid on June 10, 2011, 08:06:14 pm

Title: help!!!
Post by: masteraid 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