Help me.
#3

Quote:
Originally Posted by taktaz
Посмотреть сообщение
If you want to add commands , you should place their script under OnPlayerCommandText ...
NOTE: OnPlayerCommandText is in your script you should just search it.
For example:

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/gooz"cmdtexttrue) == 0)
    {
        
GivePlayerMoney(playerid,2500);
    }
    return 
0;

if it helped please do rep
Yes, it's working one command only, but i will try with the other too. If it works too, i will give you rep. Thx anyway.
Reply


Messages In This Thread
Help me. - by Wreeper - 07.08.2018, 12:05
Re: Help me. - by taktaz - 07.08.2018, 13:17
Re: Help me. - by Wreeper - 07.08.2018, 16:17
Re: Help me. - by RODELA - 07.08.2018, 16:34
Re: Help me. - by taktaz - 09.08.2018, 10:37

Forum Jump:


Users browsing this thread: 2 Guest(s)