06.03.2011, 00:16
IM making gate,, and i have little problem with SentClientMessage
C:\Documents and Settings\xy\Desktop\SAMP\samp03csvr_win32\gamemode s\rp3.pwn(467) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
code:
C:\Documents and Settings\xy\Desktop\SAMP\samp03csvr_win32\gamemode s\rp3.pwn(467) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
code:
PHP код:
if(strcmp(cmdtext, "/flyo", true) == 0)
{
new string[1];
new movetime = MoveObject(helipad2, 548.59000000,-2797.09000000,13.06000000,5.00000000);
SetTimer("aclose2", 3000, 0);
SendClientMessage(playerid, "You opening a hunter cage , gate will be closed for 3 seconds.");
format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime);
return 1;
}