14.03.2012, 19:11
Quote:
pawn Код:
|
C:\Users\Jack\Desktop\Server\vx-rp.pwn(5591) : warning 209: function "cmd_rbmgateopen" should return a value, line 5591 is
pawn Код:
CMD:rbmgateopen(playerid, params[]) {
if(playerVariables[playerid][pGroup] == 4)
{
if (IsPlayerInRangeOfPoint(playerid, 5, 1013.40002441,-1542.09997559,16.10000038) && GetPlayerInterior(playerid) == 0)
{
MoveObject(RBMGate, 1013.40002441,-1542.09997559,16.10000038, 5);
return 1;
}
}
} //Error line