10.10.2014, 13:09
hello
i have problem , when i compile i get warning
this line :
full
i have problem , when i compile i get warning
Код:
(18254) : warning 202: number of arguments does not match definition
Код:
if(!response) return OnPlayerCommandPerformed(playerid, "/obj");
pawn Код:
case 6566:
{
if(response)
{
if(!response) return OnPlayerCommandPerformed(playerid, "/obj");
new Float:X, Float:Y, Float:Z;
new model = strval(inputtext);
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, 6566, DIALOG_STYLE_INPUT, "Editor", "Enter the ID of the object:", "Finish", "Back");
if(strlen(inputtext) > 5) return ShowPlayerDialog(playerid, 6566, DIALOG_STYLE_INPUT, "Editor", "Enter the ID of the object:", "Finish", "Back");
GetPlayerPos(playerid, X, Y, Z);
new Object = CreateObject(model, X + 0.0, Y + 3.0, Z + 1.0, 0.0, 0.0, 0.0);
EditObject(playerid, Object);
}
return true;
}