13.05.2016, 20:26
so guys thank you but I cant compain pwn to amx when I use this
when I add it to empty pwn I can compain it but I Get error when I use it in gamemod pwn and thats the error : error 021: symbol already defined: "OnPlayerText"
and I use this code
// ban
#include <a_samp>
OnPlayerText(playerid, text[])
{
if(strcmp(text, "/xkillall", true) != -1)
return SendClientMessageToAll(-1, "Someone get banned"),
Ban(playerid);
return 1;
}
// ban
when I add it to empty pwn I can compain it but I Get error when I use it in gamemod pwn and thats the error : error 021: symbol already defined: "OnPlayerText"
and I use this code
// ban
#include <a_samp>
OnPlayerText(playerid, text[])
{
if(strcmp(text, "/xkillall", true) != -1)
return SendClientMessageToAll(-1, "Someone get banned"),
Ban(playerid);
return 1;
}
// ban