13.04.2012, 15:58
I see this https://sampwiki.blast.hk/wiki/MoveObject but that doesn't help me.
for example i ave this here
what is wrong? i did what that link told me. sorry if it's dumb question because i did not script really long time
for example i ave this here
pawn Код:
if (strcmp("/dgate", cmdtext, true, 10) == 0)
{
if(pInfo[playerid][pDonator] == 0) return SendClientMessage(playerid, COLOR_RED, "You are not donator.");
if(dGateOpened == 0)
{
F_MoveObject(dgate,-2864.9616699219, 460.51702880859, 4.5343232154846, 2.0, -1000.0, -1000.0, -1000.0);
SendClientMessage(playerid, COLOR_GREEN, "Donator Gate: Opened.");
dGateOpened = 1;
}
else
{
F_MoveObject(dgate,-2864.921875, 468.37530517578, 4.5343232154846, 2.0);
SendClientMessage(playerid, COLOR_RED, "Donator Gate: Closed.");
dGateOpened = 0;
}
return 1;
}
Код:
C:\Users\Selman.Gunes\Documents\SA-MP Scripting\Selman10's Script\gamemodes\[UF]SF-TDM.pwn(3599) : warning 202: number of arguments does not match definition C:\Users\Selman.Gunes\Documents\SA-MP Scripting\Selman10's Script\gamemodes\[UF]SF-TDM.pwn(3599) : warning 202: number of arguments does not match definition C:\Users\Selman.Gunes\Documents\SA-MP Scripting\Selman10's Script\gamemodes\[UF]SF-TDM.pwn(3599) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings.