30.09.2012, 15:26
hello can somebody help me fix this:
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\filterscripts\poke.pwn(394) : error 030: compound statement not closed at the end of file (started at line 372)
script:
//================================================== ================================================== ===============//
if(GetPlayerScore(playerid) >= 2)
{
if(!strcmp(cmdtext, "/flipcar", true, 4))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "KĻŪDA: Tev jābūt maљīnā!");
{
new currentveh;
new Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, 0xFFFFFFFF, "Tava maљīna veiksmīgi apgriezta.");
return 1;
}
thank you.
D:\Documents and Settings\abc\Desktop\Serveris\Conex SA-MP\filterscripts\poke.pwn(394) : error 030: compound statement not closed at the end of file (started at line 372)
script:
//================================================== ================================================== ===============//
if(GetPlayerScore(playerid) >= 2)
{
if(!strcmp(cmdtext, "/flipcar", true, 4))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "KĻŪDA: Tev jābūt maљīnā!");
{
new currentveh;
new Float:angle;
currentveh = GetPlayerVehicleID(playerid);
GetVehicleZAngle(currentveh, angle);
SetVehicleZAngle(currentveh, angle);
SendClientMessage(playerid, 0xFFFFFFFF, "Tava maљīna veiksmīgi apgriezta.");
return 1;
}
thank you.