30.11.2013, 07:55
https://sampwiki.blast.hk/wiki/Scripting_Basics#Strings
Yes, you can re-use a string. For example:
Yes, you can re-use a string. For example:
pawn Код:
new
sz_Str[ 128 ]
;
format( sz_Str, sizeof( sz_Str ), ... ); // some text and arguments..
SendClientMessage( playerid, -1, sz_Str ); // formating sz_Str and send it to playerid
format( sz_Str, sizeof( sz_Str ), ... ); // some other text and arguments..
SendClientMessage( id, -1, sz_Str ); // re-formatting sz_Str with the new text and send it to id

