2 Warnings I cant figure out
#1

Warnings:
Код:
C:\Users\Jordan\Desktop\Windows-Server\gamemodes\vx-rp.pwn(11477) : warning 202: number of arguments does not match definition
C:\Users\Jordan\Desktop\Windows-Server\gamemodes\vx-rp.pwn(11483) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Код:
CMD:cgate(playerid, params[]) {
	if(playerVariables[playerid][pGroup] == 5)
	if(IsPlayerInRangeOfPoint(playerid, 7.0, -411.60000610352, 1361.6999511719, 31.200000762939))
	{
	    	MoveObject(objectname2, -411.60000610352, 1361.6999511719, 31.200000762939); // line 11477
 	}
 	else
 	{
		  SendClientMessage(playerid, COLOR_RED, "YOu are either not in range or not apart of the S.A.S!");
 	}
	 return 1;
}
Reply
#2

Ok I fixed the warning error I still got the 11477 line Warning.
Reply
#3

pawn Код:
CMD:cgate(playerid, params[])
{
    if(playerVariables[playerid][pGroup] == 5) {
        if(IsPlayerInRangeOfPoint(playerid, 7.0, -411.60000610352, 1361.6999511719, 31.200000762939)) {
            return MoveObject(objectname2, -411.60000610352, 1361.6999511719, 31.200000762939, 2.00);
        }
    }
    else return SendClientMessage(playerid, COLOR_RED, "YOu are either not in range or not apart of the S.A.S!");
}
MoveObject
Parameters:
(objectid, Float:X, Float:Y, Float:Z, Float:Speed)
You forgot the speed.
Reply
#4

Ahaha, Thanks. +1
Reply
#5

Quote:
Originally Posted by [MP]Ditch
Посмотреть сообщение
Ahaha, Thanks. +1
Your Welcome!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)