23.06.2010, 15:47
i get these errors when making these commands
I get them in here
i have the object create already
and these
help please
~WSFM~
Код:
C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(556) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(556) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(560) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(560) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(564) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(564) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(568) : warning 202: number of arguments does not match definition C:\Users\Charlie\Desktop\SAMP Server\filterscripts\tele.pwn(568) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Warnings.
pawn Код:
if(strcmp(cmdtext, "/gate1", true, 10) == 0) {
gate1 = MoveObject(gate1, 985.34210205078, 1755.7589111328, 12.696279525757, 0.000000, 0.000000, 90);
SendClientMessage(playerid, COLOR_GREEN, "Gate Opened Type /gate1close to close the Gate.");
return 1;}
if(strcmp(cmdtext, "/gate1close", true, 10) == 0) {
gate1 = MoveObject(gate1, 997.34210205078, 1755.7589111328, 12.696279525757, 0.000000, 0.000000, 90);
SendClientMessage(playerid, COLOR_GREEN, "Gate Closed Type /gate1 to open the Gate.");
return 1;}
if(strcmp(cmdtext, "/gate2", true, 10) == 0) {
gate2 = MoveObject(gate2, 985.29022216797, 1711.0880126953, 12.680534362793, 0.000000, 0.000000, 90);
SendClientMessage(playerid, COLOR_GREEN, "Gate Opened Type /gate2close to close the Gate.");
return 1;}
if(strcmp(cmdtext, "/gate2close", true, 10) == 0) {
gate2 = MoveObject(gate2, 997.29022216797, 1711.0880126953, 12.680534362793, 0.000000, 0.000000, 90);
SendClientMessage(playerid, COLOR_GREEN, "Gate Closed Type /gate2 to open the Gate.");
return 1;}
pawn Код:
gate1 = CreateObject(980, 997.34210205078, 1755.7589111328, 12.696279525757, 0.000000, 0.000000, 90);
gate2 = CreateObject(980, 997.29022216797, 1711.0880126953, 12.680534362793, 0.000000, 0.000000, 90);
pawn Код:
new gate1;
new gate2;
~WSFM~