01.06.2014, 15:21
pawn Код:
if(strcmp(cmd, "/entrafbi", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pMember] == 2)
{
if(IsPlayerInRangeOfPoint(playerid,5.0,-1979.1746,428.2549,24.8454)
{
SetVehiclePos(GetPlayerVehicleID, -2025.1678,405.3524,2.8828);
SetPlayerPos(playerid, -2025.1678,405.3524,2.8828);
PutPlayerInVehicle(playerid, gLastCar[playerid], 1);
}
if(IsPlayerInRangeOfPoint(playerid,5.0,-2025.1678,405.3524,2.8828)
{
SetVehiclePos(GetPlayerVehicleID, -1979.1746,428.2549,24.8454);
SetPlayerPos(playerid,-1979.1746,428.2549,24.8454);
PutPlayerInVehicle(playerid, gLastCar[playerid], 1);
}
}
else
{
SendClientMessage(playerid, WHITE, "* Non hai le chiavi di questo garage!");
return 1;
}
I can't compile.