Unknown command
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
Open pawno.exe, click on 'New' tab and remove everything. Paste this:
pawn Код:
#include < a_samp >
#include < zcmd >

main( ) { }

CMD:hp( playerid, params[ ] )
{
    SetPlayerHealth( playerid, 100 );
    SendClientMessage( playerid, -1, "Your health has been restored!" );
    return 1;
}
Save it with a name into gamemodes folder and replace the name in server.cfg

Run the server and go in-game. Do /hp, does it still show "SERVER: Unknown command." message?
It works perfect now.,So should I write my scripts in zcmd?
Reply


Messages In This Thread
Unknown command - by RaptorX72 - 01.11.2013, 15:36
Re: Unknown command - by MaxTheMapper - 01.11.2013, 15:51
Re: Unknown command - by Konstantinos - 01.11.2013, 15:52
Re: Unknown command - by MaxTheMapper - 01.11.2013, 15:56
Re: Unknown command - by RaptorX72 - 01.11.2013, 16:03
Re: Unknown command - by Konstantinos - 01.11.2013, 16:09
Re: Unknown command - by RaptorX72 - 01.11.2013, 16:23
Re: Unknown command - by Konstantinos - 01.11.2013, 16:26
Re: Unknown command - by RaptorX72 - 01.11.2013, 16:32
Re: Unknown command - by Pottus - 01.11.2013, 16:36

Forum Jump:


Users browsing this thread: 1 Guest(s)