Ao Morrer no DM dar spawn novamente no DM - HELP PLS - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Ao Morrer no DM dar spawn novamente no DM - HELP PLS (
/showthread.php?tid=552830)
Ao Morrer no DM dar spawn novamente no DM - HELP PLS -
ModaLOKO - 26.12.2014
eae galerinha , so iniciante em pawno e to com uma grande duvida , ja pesquisei й nгo achei em local nenhum...
tipo o cara usou /dm , ai ele й setado , e quando й morto ele da spawn , mas eu queria que quando ele fosse morto no dm ele desce spawn novamente no dm , sem precisar usar o comando novamente...
olha o comando:
PHP код:
if(strcmp(cmdtext,"/Dm",true)==0)
{
new string[200], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"O Player {00BFFF}%s {FFFFFF}Entrou no Dm {00BFFF}Eagle {FFFFFF}e {00BFFF}Combat{FFFFFF}! Use /Dm!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
SetPlayerPos(playerid,1412.639892,-1.787510,1000.924377);
SetPlayerInterior(playerid,1);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 999);
GivePlayerWeapon(playerid, 27, 999);
SetPlayerHealth(playerid,100);
SetPlayerArmour(playerid,100);
PlayerPlaySound(playerid, 1057, 0,0,0);
depois vou criar o comando /leavedm , mas preciso muito de ajuda nisso
Re: Ao Morrer no DM dar spawn novamente no DM - HELP PLS -
ModaLOKO - 27.12.2014
/bump
Re: Ao Morrer no DM dar spawn novamente no DM - HELP PLS -
Facerafter - 27.12.2014
This is the english section.
For help in other languages check here
http://forum.sa-mp.com/forumdisplay.php?f=33