05.12.2012, 11:36
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:
Please help me.
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; } |