Postado 3/2/2015, 19:20
- Código:
CMD:dm(playerid)
{
SendClientMessage(playerid, COLOR_ORANGE,"Bem Vindo 'ARENA DM', Mate quantos puder.");
SetPlayerVirtualWorld(playerid, 3);
SetPlayerPos(playerid, 2371.6279,1568.9275,27.9443,36.5975);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
GivePlayerWeapon(playerid, 16,9999);
GivePlayerWeapon(playerid, 24,9999);
GivePlayerWeapon(playerid, 26,9999);
GivePlayerWeapon(playerid, 31,9999);
GivePlayerWeapon(playerid, 32,9999);
GivePlayerWeapon(playerid, 34,9999);
return 1;
}
necessário include zcmd
e alguns objetos
- Código:
CreateObject(987,2387.8999000,1543.8000000,27.9000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (1)
CreateObject(987,2376.2000000,1543.8000000,27.9000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (2)
CreateObject(987,2364.7000000,1543.8000000,27.9000000,0.0000000,0.0000000,180.0000000); //object(elecfence_bar) (3)
CreateObject(987,2375.7000000,1602.8000000,27.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (4)
CreateObject(987,2363.7000000,1602.8000000,27.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (5)
CreateObject(987,2351.8999000,1602.8000000,27.9000000,0.0000000,0.0000000,0.0000000); //object(elecfence_bar) (6)