- 0
ajutor la dm
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
cr3azy
salut am si eu o un sistem de dm ... dar as vrea ca atunci cand mori .... sa te dea tot acolo la dm .... nu la spawn la factiune
if(strcmp(cmdtext, "/dmon", true) == 0) { if(IsAMember(playerid)) { new x; x = PlayerInfo[playerid][pMember] + PlayerInfo[playerid][pLeader]; if PlayerToPoint(3.0,playerid,1024.4681,-981.8221,42.6512) *then { if( GetPVarInt(playerid, "ICanUseFirstCommand") == 1 ) return SendClientMessage(playerid, -1, "DeathMatch: Poti face un DM odata la 2 ore!"); SetPVarInt(playerid, "ICanUseFirstCommand", 1); SetTimerEx("CanUseCommand", 7200000 /*timpul in care nu poate folosi comanda din nou*/, 0, "i", playerid); new rand = random(3); switch(rand) { case 0: SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875); case 1: SetPlayerPos(playerid, -1130.5881,1057.9072,1346.4141); } GivePlayerWeapon(playerid, 24, 99999); GivePlayerWeapon(playerid, 32, 99999); GivePlayerWeapon(playerid, 33, 99999); GivePlayerWeapon(playerid, 31, 99999); SetPlayerHealth(playerid, 100.0); SetPlayerArmour(playerid, 100.0); SetPlayerInterior(playerid,10); WantedWarZone[playerid] = 1; format(string,sizeof(string),"* DeathMatch: Un membru a unui gang sa dus in zona de DM."); SendClientMessageToAll(COLOR_1GREEN, string); } else { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* DeathMatch: Nu esti in locul pentru comanda!"); return 1; } } }2 answers to this question
Recommended Posts