C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(655) : warning 217: loose indentation C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(656) : warning 217: loose indentation C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(14874) : error 036: empty statement C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(14876) : error 001: expected token: ")", but found "-identifier-" C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(14878) : error 029: invalid expression, assumed zero C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(14882) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
CMD:garage(playerid, params[]) { if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1); { if(IsPlayerInRangeOfPoint(playerid, 5, -2286.9431,2284.1853,4.9731) SetPlayerPos(playerid, 1588.7703,-1640.3796,13.1978); } else { SendClientMessage(playerid, COLOR_RED, "You are not in the PD, Therefore cannot enter the garage."); } } return 1; }
CMD:garage(playerid, params[])
{
if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 5, -2286.9431,2284.1853,4.9731)) SetPlayerPos(playerid, 1588.7703,-1640.3796,13.1978);
}
else SendClientMessage(playerid, COLOR_RED, "You are not in the PD, Therefore cannot enter the garage.");
return 1;
}
CMD:garage(playerid, params[])
{
if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1);
{
if(IsPlayerInRangeOfPoint(playerid, 5, -2286.9431,2284.1853,4.9731) SetPlayerPos(playerid, 1588.7703,-1640.3796,13.1978);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not in the PD, Therefore cannot enter the garage.");
}
return 1;
}
PHP код:
|
C:\Users\Jordan\Desktop\Windows\gamemodes\vx-rp.pwn(14877) : error 001: expected token: ")", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
if(IsPlayerInRangeOfPoint(playerid, 5, -2286.9431,2284.1853,4.9731))
CMD:garage(playerid, params[]) { if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1) { if(IsPlayerInRangeOfPoint(playerid, 5, -2286.9431,2284.1853,4.9731)) SetPlayerPos(playerid, 1588.7703,-1640.3796,13.1978); } else SendClientMessage(playerid, COLOR_RED, "You are not in the PD, Therefore cannot enter the garage."); return 1; }