12.03.2009, 23:41
Strings are arrays. So I have a theory that maybe you could use the array ('a') parameter to pass the string ... ?
(I've never used the 'a' parameter in SetTimerEx, not quite sure how it works. It's a theory you can test though
.)
pawn Код:
SetTimerEx( "SendClientMessageEx", 4000, 0, "iia", playerid, yellow3, "xxx", 4 );
// array_len = string_length + 1; You can use "strlen( string ) + 1" for unknown string sizes? Try using "sizeof( string )" (remove the + 1) if strlen doesn't work.
// SetTimerEx( "SendClientMessageEx", 4000, 0, "iia", playerid, yellow3, string_array, array_len );
