11.04.2014, 16:34
Oks so i made this:
When i try to compile it shows me this:
But the line 16190 is the last one and its empty
Please help me im a newbie in this but im trying as hard as i can but im failing all the time
PHP код:
dcmd_marryhelp(playerid,params[])
{
#pragma unused params
if(IsSpawned[playerid] != 1)
{
SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR]: {FFFFFF}You must be alive and spawned in order to be able to use this command.");
return 1;
}
if(IsKidnapped[playerid] == 1)
{
SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR]: {FFFFFF}You are kidnapped. You cannot use this command.");
return 1;
}
if(IsFrozen[playerid] == 1)
{
SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR]: {FFFFFF}You have been frozen by a Server Administrator. You cannot use this command.");
return 1;
}
ShowPlayerDialog(playerid,DIALOG_COMMANDS,DIALOG_STYLE_MSGBOX,"Marriage Commands","{FFFFFF}/marry /maccept /madmit /sex /family","Ok","Cancel");
return 1;
}
PHP код:
C:\Users\WeeD\Desktop\Samp\gamemodes\SFCRRPG.pwn(16190) : warning 203: symbol is never used: "dcmd_marryhelp"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Warning.
Please help me im a newbie in this but im trying as hard as i can but im failing all the time