ionutuidumanu Posted May 30, 2011 Posted May 30, 2011 1.Cum fac cand sunt intro zona de Dm sa nu pot folosi /teles?2.Cum pun Anti Reclama pe /ad? The Legend
scr3ws0f7 Posted May 30, 2011 Posted May 30, 2011 1.Cum fac cand sunt intro zona de Dm sa nu pot folosi /teles?2.Cum pun Anti Reclama pe /ad?1:sus de tot[pawn]//DMnew IsInDM[MAX_PLAYERS];[/pawn]la[pawn]public OnPlayerConnect(playerid)[/pawn]pui [pawn] IsInDM[playerid] = 0;[/pawn]la[pawn]public OnPlayerDisconnect(playerid, reason)[/pawn]pui [pawn] IsInDM[playerid] = 0;[/pawn]la[pawn]public OnPlayerSpawn(playerid)[/pawn]pui [pawn] IsInDM[playerid] = 0;[/pawn][pawn]public OnPlayerDeath(playerid, killerid, reason)pui[pawn] if(IsInDM[playerid] ==1) { SetPlayerScore(killerid,GetPlayerScore(killerid)+1); SetPlayerScore(playerid,GetPlayerScore(playerid)-1); GivePlayerMoney(killerid, 1800); GivePlayerMoney(playerid, -1000); return 1; } if(IsInDM[playerid] ==0) { SetPlayerScore(killerid,GetPlayerScore(killerid)-1); GivePlayerMoney(killerid, -2000); return 1; } IsInDM[playerid] = 0; nojump2[playerid] = 0;[/pawn][pawn]if (strcmp("/teles", cmdtext, true, 10) == 0){ if(IsInDM[playerid] ==1) { SendClientMessage(playerid,COLOR_LIGHTBLUE,"Daca vrei sa folosesti acceasta comanda tastaza /leavedm"); return 1; }AICI pui restul comenzi de la teles.... return 1;}[/pawn]si unde sunt zonele de dm gen : minigun,war... etc nush ce ai tu prin srv dar ma rog iti dau un ex... [pawn]if(strcmp(cmdtext, "/minigun", true) == 0) { if(IsInDM[playerid] ==1)restul comenzi......[/pawn]PS asa poti sa faci si la restul comenzilor la 2 nu inteleg ce vrei sa spui.... <a href=http://devilone.ro></a>
ionutuidumanu Posted May 30, 2011 Author Posted May 30, 2011 Deci imi trebuie doar la /teles ca in rest nu merge nici una si cum am /teles cu dialoguri se tp in alte locuri cu minigun The Legend
Question
ionutuidumanu
1.Cum fac cand sunt intro zona de Dm sa nu pot folosi /teles?
2.Cum pun Anti Reclama pe /ad?
The Legend
2 answers to this question
Recommended Posts