24.07.2009, 14:13
Hey..
Here's my code:
So I could remove name from str...
Here's my code:
pawn Код:
stock KickFromGang(PlayerID,GangName[])
{
if(!dini_Exists(GangName)) return -1;
new str[512],name[24];
GetPlayerName(PlayerID,name,24);
str = dini_Get(GangName,"Members");
if(strfind(str,name,true) != 1) // If Player is in File:GangName, line:"Members"
{
// Need code to remove "name" from "str"
return 1;
}
return 0;
}