View Single Post
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 09-14-2015 , 16:00   Re: DataPacks & SQL_TQuery
Reply With Quote #3

Quote:
Originally Posted by Miu View Post
you're reading from the first position since you just reset it, but the first position is an integer, the client index, not a string

you don't need to be reading from the datapack at that point anyway, you can just pass the steamid to that function as an argument
I tried:
PHP Code:
    ResetPack(packfalse);
    
SetPackPosition(pack2);
    new 
String:packSteamID[32];
    
ReadPackString(packpackSteamIDsizeof(packSteamID)); 
but that returns the same errors.
__________________
SourcePawn Coding Level: Novice

Last edited by DJ Data; 09-14-2015 at 16:01.
DJ Data is offline