SA-MP Forums Archive
Dilemma - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Dilemma (/showthread.php?tid=544509)



Dilemma - Sanady - 02.11.2014

Hello. Well title is saying what kind a problem I have. Well I have dilemma which function or way should I use. So here is the story. I want to count all members of one squad in MySQL database. And should I use:
pawn Код:
COUNT(*)
Or should I select everything from that table and exactly just take SquadID...Can you suggest me something I don`t know which way is better

Also I don`t know how to put result into variable. Can you tell me which function or way how to put result into variable?

Please rely, thank you, Sanady