SSCANF 'u' ,playerid WORNG
#5

@ milanosie
I will agree about the name, you need to change it to 20 as this it's the Name Length in Sa-MP.
Also, it doesn't need str to be 128 for an id (max:3) and a name (max:20). 64 is enough, because it's just waste of memory (256 bytes). Also,
pawn Код:
if( !sscanf( params, "u", giveid ) )
{
     // Code
}
else return SendClientMessage( .. )
It's same as
pawn Код:
if( sscanf( params, "u", giveid ) ) return SendClientMessage( .. )
// Code
@Shabi RoxX
Update the sscanf to the latest version!
Reply


Messages In This Thread
SSCANF 'u' ,playerid WORNG - by Shabi RoxX - 03.02.2012, 16:34
Re: SSCANF 'u' ,playerid WORNG - by milanosie - 03.02.2012, 16:37
Re: SSCANF 'u' ,playerid WORNG - by Shabi RoxX - 03.02.2012, 16:39
Re: SSCANF 'u' ,playerid WORNG - by Macluawn - 03.02.2012, 16:40
Re: SSCANF 'u' ,playerid WORNG - by Konstantinos - 03.02.2012, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)