10.10.2013, 09:31
Is sscanf updated to the latest version (plugin and include)?
For those commands that use sscanf with only "s" as specifier, it can be done with isnull too.
An example:
He doesn't get any errors. If he did, then he wouldn't be able to compile and run it; therebefore, he wouldn't be able to know whether they work or not in-game!
Just to let you know, y_commands is faster than ZCMD.
For those commands that use sscanf with only "s" as specifier, it can be done with isnull too.
An example:
pawn Код:
YCMD:me(playerid, params[], help)
{
#pragma unused help
if(isnull(params)) return SCM(playerid, COL_GREY, "Koristite: /me [akcija]");
new sendername[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s %s", sendername, params);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
printf("%s", string);
return 1;
}
Quote:
|
Show us your errors you get , and i suggest you to use ZCMD more faster.
https://sampforum.blast.hk/showthread.php?tid=91354 |
Just to let you know, y_commands is faster than ZCMD.


