fly mod - satdm
#1

Hi, i have a little problem.
I have started my own server and downloaded some fs. Everything was working especially the fs "fly" as i downloaded. I made some changes in it and now i cant compile. What is the problem and can i change it so i get it to vip lvl 3 only. the compile msg is: ...\fly.pwn(5 : warning 203: symbol is never used: "strtok"

the code in the script is:
Quote:

#define FILTERSCRIPT
#include <a_samp>
#include <fly>
#include <ladmin>

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(playerid, cmdtext[])
{
if(!strcmp(cmdtext,"/fly",true))
{
if(IsPlayerVipType(playerid,3))
{
StartFly(playerid);
return 1;
}
else
SendClientMessage(playerid, 0xFFFFFFAA, "ERROR: You are not a premium Member!");
return 1;
}
if(!strcmp(cmdtext,"/stopfly",true))
{
StopFly(playerid);
return 1;
}
return 0;
}

Please help me.
Reply


Messages In This Thread
fly mod - satdm - by Frede - 05.12.2012, 11:36
Re: fly mod - satdm - by LarzI - 05.12.2012, 11:42
Re: fly mod - satdm - by Konstantinos - 05.12.2012, 11:48
Re: fly mod - satdm - by Frede - 05.12.2012, 12:13
Re: fly mod - satdm - by Frede - 05.12.2012, 12:22
Re: fly mod - satdm - by Frede - 05.12.2012, 12:26
Re: fly mod - satdm - by Konstantinos - 05.12.2012, 12:27
Re: fly mod - satdm - by Frede - 05.12.2012, 12:32
Re: fly mod - satdm - by LarzI - 05.12.2012, 12:34
Re: fly mod - satdm - by Frede - 05.12.2012, 12:37

Forum Jump:


Users browsing this thread: 3 Guest(s)