Sscanf question !
#1

I need to know if there is any difference between
pawn Код:
if(sscanf(params, "r", id, params)) return SendClientMessage(playerid,RED,"USAGE: akill [id]");
if(sscanf(params, "u", id, params)) return SendClientMessage(playerid,RED,"USAGE: akill [id]");
if(sscanf(params, "i", id, params)) return SendClientMessage(playerid,RED,"USAGE: akill [id]");
Thanks
Reply
#2

Eh.. http://forum.sa-mp.com/showthread.ph...ghlight=sscanf
Reply
#3

I've seen them.. but these 3 operators work with player ids? what is recommended to use more?
Reply
#4

"u" is best for id/names
Reply
#5

I will switch than, thanks
Reply
#6

i is for id only, but with u you can use name too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)