error 021: symbol already defined: "strtok"
#3

want to delete what?
forward VehRes(vehicleid);


public VehRes(vehicleid)
{
DestroyVehicle(vehicleid);
}

stock Gn(playerid)
{
new pname[24];
GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
return pname;
}

stock PFile(playerid)
{
format(file,64,"VipUsers/%s.ini",Gn(playerid));
return file;
}

stock IsValidSkin(SkinID)
{
if((SkinID >= 0 && SkinID <= 2)||(SkinID == 7)||(SkinID >= 9 && SkinID <= 41)||(SkinID >= 43 && SkinID <= 64)||(SkinID >= 66 && SkinID <= 73)||(SkinID >= 75 && SkinID <= 85)||(SkinID >= 87 && SkinID <= 11||(SkinID >= 120 && SkinID <= 14||(SkinID >= 150 && SkinID <= 207)||(SkinID >= 209 && SkinID <= 264)||(SkinID >= 274 && SkinID <= 28||(SkinID >= 290 && SkinID <= 299)) return true;
else return false;
}

stock strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}

new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}


that smile is 8 ) should no space
Can i delete valid skin?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)