Jump to content
  • 0

Ajutati'ma...


eLeCtRiCoOo

Question

9 answers to this question

Recommended Posts

Deci comenzile sunt adaugate la OnPlayerCommandText(playerid,cmdtext[])

trb sa arate cam asa

public OnPlayerCommandText(playerid,cmdtext[])
{
//aici se adauga comenzile exp..
return 0;
}

Uite un exemplu daka sa zicem vrei sa bagi 2 comenzi
public OnPlayerCommandText(playerid,cmdtext[])
{
if(strcmp("/help",cmdtext,true) ==0)
{
//aici scripturi
return 1;
}
//aici alta comanda
if(strcmp("/credits",cmdtext,true) ==0)
{
//aici ce vrei tu 
return 1;
}
return 0;
}

New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.