22.12.2014, 03:04
Hello , i added sscanf.dll and sscanf.so file in my plugins folder and also sscanf.inc and sscanf2.inc in /pawno/ include folder but when i use this command
It says Undefined symbol "sscanf" and Undefined symbol "playerid" . if i remove this command
then i got no errors . i also tried to paste that command after the closing braces of CMD : pm ( i used here spaces because if i dont use the emo appears) (as i am n00b so i try all the ways) but not working .
Please help me
PHP код:
new str[128], str2[128] , NAME1[MAX_PLAYER_NAME], NAME2[MAX_PLAYER_NAME];
CMD:pm(playereid , params[])
{
if(sscanf(params, "us", id, str2))
{
SendClientMessage(playerid, 0xFF0000FF, "Usage: /pm <id/name> <message>");
return 1;
}
return 1;
}
PHP код:
if(sscanf(params, "us", id, str2))
{
SendClientMessage(playerid, 0xFF0000FF, "Usage: /pm <id/name> <message>");
return 1;
}
Please help me