command /dm
#7

Quote:
Originally Posted by Mikeshake
I told you.
pawn Код:
if (strcmp(cmdtext, "/dm", true)==0)
 {
SetPlayerWorldBounds(playerid,9999999999.0,-99999999999.0,999999999999.0,-99999999999.0);
 new rand = random(sizeof(gRandomDmSpawns));
 GameTextForPlayer(playerid,"~w~ DeathMatch Zone",3,1);
 new name[MAX_PLAYER_NAME+1];
 GetPlayerName(playerid, name, sizeof(name));
 format(string, sizeof(string), "*** %s teleported to the DeathMatch Zone ( command /dm ).", name);
 SendClientMessageToAll(COLOR_YELLOW, string);
 SetPlayerInterior(playerid,0);
 SetPlayerPos(playerid, gRandomDmSpawns[rand][0],gRandomDmSpawns[rand][1],gRandomDmSpawns[rand][2]);
 SetPlayerFacingAngle(playerid, gRandomDmSpawns[rand][3]);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 32, 2000);
GivePlayerWeapon(playerid, 30, 1000);
GivePlayerWeapon(playerid, 24, 500);
 return 1;
}
this is mine /dm command ;[
Reply


Messages In This Thread
command /dm - by sk1llz - 06.02.2009, 20:18
Re: command /dm - by Mikep - 06.02.2009, 20:33
Re: command /dm - by sk1llz - 06.02.2009, 21:03
Re: command /dm - by Mikep - 06.02.2009, 21:07
Re: command /dm - by sk1llz - 06.02.2009, 21:17
Re: command /dm - by Mikep - 06.02.2009, 21:19
Re: command /dm - by sk1llz - 06.02.2009, 21:24
Re: command /dm - by Mikep - 06.02.2009, 21:48

Forum Jump:


Users browsing this thread: 1 Guest(s)