CMD:pojas(playerid, params[])
{
if(IsPlayerInAnyVehicle(playerid))
new hIme;
RPIme(playerid, hIme);
format(CmdString, 128, "** %s stavlja pojas na sebe u vozilu %s.", hIme, ImenaVozila[GetVehicleModel(GetPlayerVehicleID(playerid)) - 400]);
ProxDetector(10.0, playerid, CmdString, LJUBICASTA,LJUBICASTA,LJUBICASTA,LJUBICASTA,LJUBICASTA);
else return SCM(playerid, GRAD2, "(greska)Kako ces staviti pojas ako nisi u autu?");
return 1;
}erori
D:\NL mod\gamemodes\NLRPGv5.pwn(65903) : error 003: declaration of a local variable must appear in a compound block
D:\NL mod\gamemodes\NLRPGv5.pwn(65903) : error 017: undefined symbol "hIme"
D:\NL mod\gamemodes\NLRPGv5.pwn(65903) : warning 215: expression has no effect
D:\NL mod\gamemodes\NLRPGv5.pwn(65903) : error 001: expected token: ";", but found "]"
D:\NL mod\gamemodes\NLRPGv5.pwn(65903) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.