#1

Hi, have i litle problem
Код:
COMMAND:heal(playerid, params[])
{
new PID;
if( sscanf( params,"u",PID ) )
return ShowPlayerDialog(playerid, Error_Dialog, DIALOG_STYLE_MSGBOX, "Klaida", "'Heal' Naudojimas: /Heal [ Nick/ID ]", "Iљeiti", "");
new string[64];
new name [MAX_PLAYER_NAME];
GetPlayerName(PID, name, MAX_PLAYER_NAME);
SetPlayerHealth(PID,100);
SetPlayerArmour(PID,100);
strcat(string, "{FFFFFF}%s ",name);
ShowPlayerDialog(playerid, Error_Dialog, DIALOG_STYLE_MSGBOX, "pagydėtę ", string, "Hide", "");
return true;
}
error
Код:
C:\Users\Juraska\Desktop\Imporan files\SA-MP\San andreas Multi-Player my server\gamemodes\Test..pwn(328) : error 035: argument type mismatch (argument 3)
Please help
Reply


Messages In This Thread
Help - by juraska - 29.06.2011, 19:35
Re: Help - by linuxthefish - 29.06.2011, 19:41
Re: Help - by Kitten - 29.06.2011, 19:45
Re: Help - by iPLEOMAX - 29.06.2011, 19:53
Re: Help - by juraska - 29.06.2011, 20:09
Re: Help - by iPLEOMAX - 29.06.2011, 20:18
Re: Help - by juraska - 29.06.2011, 20:32

Forum Jump:


Users browsing this thread: 1 Guest(s)