Gate Issue
#1

Hey.. For some reason in 0.3d forums its only for Bugs.. and people dont help there (dunno why..) and i know all scripts are importent but i'm in hurry with that crap...
Anyway.. 0.3d changed the parameters of MoveObject...
and right now all my gates are changing pos when opening...
and I cant fix it.. its always giving me error of:

Number of arguments does not match definition

here's the lines:

pawn Код:
if(mafiagateopen == false)
                 {
                     MoveObject(mafiagate, 318.5126,-1190.2949,75.5956+0.01,0.01,0.00000000,0.00000000,0.00000000);
                     mafiagateopen = true;
                     GetPlayerName(i, sendername, sizeof(sendername));
                     format(string, sizeof(string), "* %s Opens the gate with his remote control.", sendername);
                     ProxDetector(30.0, i, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                 }
                 if(mafiagateopen == true)
                 {
                     MoveObject(mafiagate, 324.1843, -1185.8805, 75.5956, 3.5); // the old coords i used for it to be closed..
                     mafiagateopen = false;
                 }
                 return 1;
Reply
#2

what line give the error?
thanks
Reply
#3

https://sampwiki.blast.hk/wiki/MoveObject
Reply
#4

this line:
pawn Код:
MoveObject(mafiagate, 318.5126,-1190.2949,75.5956+0.01,0.01,0.00000000,0.00000000,0.00000000);
And stop give links to wiki i already checked it.. common.. seriously..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)