XpLoD Posted May 19, 2010 Report Share Posted May 19, 2010 Ma puteti ajuta sa incerc sa fac si eu functia asta cu DMZone ca nu ii dau de cap ...stiu ca inceputul e asanew DMZone[MAX_PLAYERS];si cmd e asta if(strcmp(cmdtext, "/exitdm", true) == 0) { if(DMZone[playerid] >= 1) { DMZone[playerid] = 0; SpawnPlayer(playerid); SetCameraBehindPlayer(playerid); } else { SendClientMessage(playerid, COLOR_RED, "Trebuie sa fii intr-un DM ca sa poti iesi din el."); } return 1; } si vreau sa pun la fiecare DM cand mori sa te dea tot in locul ala si ca sa iesi din dm /exitdm intelegeti voi :P Link to comment Share on other sites More sharing options...
Guest farse Posted May 19, 2010 Report Share Posted May 19, 2010 pai ca sa te dea din nou in dm trebuie sa faci olec mai complicatnew PlayerDM[MAX_PLAYERS][256];//un dm..ex:if(strcmp(cmdtext,"/minigun",true)==0){format(PlayerDM[playerid],255,"/minigun");DMZone[playerid]=1;return 1;}public OnPlayerSpawn(playerid){if(DMZone[playerid]==1){OnPlayerCommandText(playerid,PlayerDM[playerid]);}return 1;}PS:Se poate ca sa "evadeze" din dm,pune asta la OnplayerCommandText ca sa nu..if(DMZone[playerid]&& strcmp(cmdtext, "/exitdm", true)){SendClientMessage(playerid,COLOR_RED,"Nice joke bitch,kill or fuck yourself(or use /exitdm)");return 1;} Link to comment Share on other sites More sharing options...
XpLoD Posted May 19, 2010 Author Report Share Posted May 19, 2010 si ca , cand sunt in DM sa nu poate folosi nicio comanda adik BLOCKCOMAND ...:| ca am observat ca daca te duci in DM si mori e bne ca te da tot in acelasi loc dar problema e ca pot dda /aa sa ma teleporteze ..:| Link to comment Share on other sites More sharing options...
Guest farse Posted May 19, 2010 Report Share Posted May 19, 2010 if(DMZone[playerid]&& strcmp(cmdtext, "/exitdm", true)){SendClientMessage(playerid,COLOR_RED,"Nice joke bitch,kill or fuck yourself(or use /exitdm)");return 1;}...citeste tot ce am zis.. Link to comment Share on other sites More sharing options...
XpLoD Posted May 19, 2010 Author Report Share Posted May 19, 2010 da , dar nu merge cmds ... si am pus'o pe aia a mea de mai sus. Link to comment Share on other sites More sharing options...
Question
XpLoD
Ma puteti ajuta sa incerc sa fac si eu functia asta cu DMZone ca nu ii dau de cap ...
stiu ca inceputul e asa
new DMZone[MAX_PLAYERS];
si cmd e asta
si vreau sa pun la fiecare DM cand mori sa te dea tot in locul ala si ca sa iesi din dm /exitdm intelegeti voi :P
Link to comment
Share on other sites
4 answers to this question
Recommended Posts