YCMD to ZCMD
#1

Hy, how to move this command from YCMD to ZCMD ?
PHP код:
#include <a_samp>
#include <fly>
public OnFilterScriptInit()
{
    print(
"=========================================\n");
    print(
"Fly include demo FS by Norck");
    print(
" ");
    print(
"=========================================\n");
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    
InitFly(playerid);
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(!
strcmp(cmdtext,"/fly",true))
    {
        
StartFly(playerid);
        return 
1;
    }
    if(!
strcmp(cmdtext,"/stopfly",true))
    {
        
StopFly(playerid);
        return 
1;
    }
    return 
0;

Reply


Messages In This Thread
YCMD to ZCMD - by Sn4ke2 - 07.06.2015, 14:47
Re: YCMD to ZCMD - by Konstantinos - 07.06.2015, 14:49
Re: YCMD to ZCMD - by NoDi522 - 07.06.2015, 15:03
Re: YCMD to ZCMD - by Sn4ke2 - 07.06.2015, 16:11

Forum Jump:


Users browsing this thread: 2 Guest(s)