• Welcome to Vice City Multiplayer.
 

command /c getall

Started by tato, April 01, 2011, 01:16:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

tato

Here i know this is a simple command but well enjoy

here i have the getall for gups :D enjoy!!!

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;
}


here is if you don't have gups :D enjoy!!!
  if (strcmp(cmd, "getall", true) == 0)
  {
   if (IsPlayerAdmin(playerid) == 0) SendClientMessage(playerid,COLOR_GREEN,"You are not logged in as an admin.");
       else {
       tmp = strtok(cmdtext, idx);
      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 ] Trajo a todos hacia el",gPlayers[playerid]);
             SendClientMessage(i,COLOR_GREEN, szMsg);
      }
       }
return 1;
}

created by me Tato





<!-- Facebook Badge START --><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Eduardo Estrada">Eduardo Estrada</a><br/><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" title="Eduardo Estrada"><img src="http://badge.facebook.com/badge/697470158.6069.1979465113.png" width="120" height="272" style="b

BIG[H]

My Guru FORUM MUST VISITmegavcmp.freeforums.org

BIG[H] = BIG HaLL

DivX


tato






<!-- Facebook Badge START --><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Eduardo Estrada">Eduardo Estrada</a><br/><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" title="Eduardo Estrada"><img src="http://badge.facebook.com/badge/697470158.6069.1979465113.png" width="120" height="272" style="b

tato

Quote from: DivX on April 01, 2011, 11:12:33 AM
VERY GOOD
:D

thanks bro if you need any command maby i can help you :D





<!-- Facebook Badge START --><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Eduardo Estrada">Eduardo Estrada</a><br/><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" title="Eduardo Estrada"><img src="http://badge.facebook.com/badge/697470158.6069.1979465113.png" width="120" height="272" style="b

Castagna96


tato






<!-- Facebook Badge START --><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Eduardo Estrada">Eduardo Estrada</a><br/><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" title="Eduardo Estrada"><img src="http://badge.facebook.com/badge/697470158.6069.1979465113.png" width="120" height="272" style="b