08.01.2010, 04:14
Just a little tip - GetPlayerName returns name length, so you don't need the strlen()
pawn Код:
new len = GetPlayerName(playerid, playername, sizeof(playername));
if (name[len-1] == 's')
{
// ....
}