Sscanf Plugin Samp Info
new msg[128]; format(msg, sizeof(msg), "You gave weapon %d (%d ammo) to %s.", weaponid, ammo, PlayerName(targetid)); SendClientMessage(playerid, -1, msg); return 1; 1. Quoted strings Input: /setname [PlayerName] "Some Name With Spaces"
It seems you’re asking for a about the sscanf plugin for SA-MP (San Andreas Multiplayer) . sscanf plugin samp
new name[24]; sscanf(params, "s[24]", name); // captures whole quoted string sscanf(params, "iI(0)", value, optional); // default 0 if not given 3. Array / delimited input Input: /setstats 50,100,30 new msg[128]; format(msg, sizeof(msg), "You gave weapon %d