Jump to content

Question

9 answers to this question

Recommended Posts

  • Administrator
Posted

http://wiki.sa-mp.com/wiki/OnPlayerCommandText

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Posted

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...

Guest RockStar
Posted

Normal ca trebuie bagate in pawno si nu cred ca vrea cineva sa il stresezi tu pe mess ...

Posted

railor :| il ajut eu ca voi cand ati fost incepatori nu cred ca ati ajuns pana la nivelul asta de cunostinte doar de pe www.wiki.sa-mp.com/wiki/  :| dati tc ca il ajut yo

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

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.