Jump to content
  • 0

Question

Posted

Cum fac ca la un DM de exemplu /war si ma oamoara unu sa ma duca la war si deabia cand scriu /exitdm sa nu ma mai duca la /war????????

  • www.LcsNet.org
  • 91.233.106.13:7777
  • www.Joc-Miniclip.info

4 answers to this question

Recommended Posts

Posted

sa zicem ca variabila care verifica daca e in dm e IsPlayerInDM[playerid],so

la war:

SetPVarString(playerid,"DM","/war");

la OnPlayerSpawn:

if(IsPlayerInDM[playerid]==1)

{

new comd[128];

GetPVarString(playerid,"DM",comd,128);

OnPlayerCommandText(playerid,comd);

}

Posted

si cea neverificata?

huh ???

E buna cea a lui Farse:

  - la /war:

SetPVarString(playerid,"DM","/war");
  - la OnPlayerSpawn:
if(IsPlayerInDM[playerid]==1)
{
    new comd[128];
    GetPVarString(playerid,"DM",comd,128);
    OnPlayerCommandText(playerid,comd);
}

PS: Jupanule, nu le ai cu sa-mp, nici scripting, nici mapping, si mai dai si 1/5 8-|

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.