04.03.2010, 17:30
pawn Код:
if(strcmp(cmdtext,"/arena", true)==0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xFFFFFF,"Vocк nгo й admin.");
new M[128];
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1211.5221,2798.3796,10.8203);
GameTextForPlayer(playerid,"Bem Vindo a Arena!", 5000, 5);
GivePlayerWeapon(playerid,4,1);
GivePlayerWeapon(playerid,26,9999);
GivePlayerWeapon(playerid,31,9999);
GivePlayerWeapon(playerid,24,9999);
GivePlayerWeapon(playerid,32,9999);
SetPlayerArmour(playerid,100);
SetPlayerHealth(playerid,100);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(M, sizeof(M), "AdmCmd:*** %s foi para arena!", pname);
SendClientMessageToAll(0xFFFFFFAA, M);
return 1;
}
AddPlayerClass(SKIN,X,Y,Z,ANGLE,WEAPON1,AMMO1,WEAP ON2,AMMO2,WEAPON3,AMMO3);
AddPlayerClass(101,1228.8486,-1328.1866,14.0797,87.5043,0,0,0,0,0,0); //
SetPlayerPos(playerid,x,y,z);
SetPlayerPos(playerid,1228.8486,-1328,1866,14.0797);
De nada
