Help With Quickstrings
#5

Quote:
Originally Posted by [03
Garsino ]
EDIT: [...] FunServer.pwn(11166) : warning 224: indeterminate array size in "sizeof" expression (symbol "maxlength")

pawn Код:
public OnPlayerText(playerid, text[])
{
  new Check = strfind(text, "$veh");
  if(Check != -1)
  {
    strdel(text, Check, Check = Check + 3);
    new Str[56];
    format(Str, sizeof(Str), "%s", PlayerVehicle);
    strins(text,Str,Check = Check - 3); // 11166
  }
    return 1;
}
My bad, it's late, fixed it.
Reply


Messages In This Thread
Help With Quickstrings - by [03]Garsino - 31.01.2010, 09:37
Re: Help With Quickstrings - by [HiC]TheKiller - 31.01.2010, 09:40
Re: Help With Quickstrings - by [03]Garsino - 31.01.2010, 09:53
Re: Help With Quickstrings - by [03]Garsino - 31.01.2010, 10:01
Re: Help With Quickstrings - by [HiC]TheKiller - 31.01.2010, 10:03
Re: Help With Quickstrings - by [03]Garsino - 31.01.2010, 10:41
Re: Help With Quickstrings - by [HiC]TheKiller - 31.01.2010, 21:48

Forum Jump:


Users browsing this thread: 4 Guest(s)