argmuent type mismatch
#1

pawn Код:
new Math_Result; // top of script - global variable

// On my command , Callback OnPlayerCommandText
if(!strcmp(Math_Operator[0],"+",true))
{
  Math_Result = Math_Number1 + Math_Number2;
}

//OnPlayerText

if(!strcmp(text, Math_Result, true)) // Line - 45.227
{
  SendClientMessage(playerid,COLOR_LIGHTRED,"You have won the event.");
  GivePlayerMoney(playerid,random(5000));
}
Код:
D:\AnGeL\SAMP\gamemodes\gf.pwn(45227) : error 035: argument type mismatch (argument 2)
I've tryed with strval , but no way

Can somebady help me ?
Reply


Messages In This Thread
argmuent type mismatch - by UsaBoy91 - 08.10.2009, 07:42
Re: argmuent type mismatch - by ferriswheel - 08.10.2009, 08:28
Re: argmuent type mismatch - by UsaBoy91 - 08.10.2009, 13:49

Forum Jump:


Users browsing this thread: 1 Guest(s)