31.12.2010, 01:05
This is at the bottom of my code:
And this is in onplayercommandtext;
but i'm getting 'argument type mismatch (argument 1)' on the line;
All of my other dcmd commands work perfectly using the same method.
Any ideas?
Regards,
XxCozzaxX
pawn Код:
dcmd_bond(params[])
{
if(lifted == 0)
{
MoveObject(bondlift,268.54293823242,1884.3603515625,16.081565856934,50000.0); //007lift up
lifted = 1;
}
else
{
MoveObject(bondlift,268.70651245117,1884.0992431641,6.9150552749634,50000.0);//007lift down
lifted = 0;
}
return 1;
#pragma unused params
}
pawn Код:
dcmd(bond,4,cmdtext);
pawn Код:
dcmd(bond,4,cmdtext);
Any ideas?
Regards,
XxCozzaxX