SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 13/07/2018, 01:53 AM   #61
DuyDang2412
Big Clucker
 
Join Date: Feb 2017
Posts: 159
Reputation: 2
Default Re: Packed-safe format!

Do I need to do like this?
Quote:
SendClientMessage(playerid, -1, !"abcxyz");
or I just use it in format?
Quote:
new Packedtring[7];
format(string, sizeof(string), !"abcxyz");
SendClientMessage(playerid, -1, !string);
or can I even use it in a mysql query?
Quote:
new Packed:query[128];
mysql_format(handle, query, sizeof(query), !"SELECT null FROM `abcxyz` WHERE 1=%d", 1);
Can someone explain to me when to use packed-safe string?
DuyDang2412 is offline   Reply With Quote
Old 13/07/2018, 05:00 AM   #62
PhamHoang
Big Clucker
 
Join Date: Feb 2017
Location: GetPlayerPos(PhamHoang,x,y,z);
Posts: 58
Reputation: 2
Default Re: Packed-safe format!

He lô Duy Dang =))
PhamHoang is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Packed strings in PAWN Emmet_ Tutorials 22 25/12/2013 02:02 PM
Packed String Support MP2 Scripting Help 3 30/03/2013 08:08 AM
packed string problem KoczkaHUN Help Archive 0 08/08/2011 11:11 AM
Packed strings - speed? RSX Help Archive 1 30/08/2010 09:22 PM
Packed Strings Nekom Help Archive 2 10/03/2010 11:31 AM


All times are GMT. The time now is 09:48 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.