Hali.Valaki tudna segíteni csináltam egy ilyen pickupot ha bele megy a játékos a pickupba akkor meg javítja a kocsit de nem jó
#include <fixchars>
#include <a_samp>
#include <zcmd>
new rPickup;
public OnGameModeInit()
{
rPickup = CreatePickup(1239, 1, 2464.65,2824.17,10.82, -1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(GetPlayerMoney(playerid) < 500)
{
SendClientMessage(playerid,0xD9E916FF,\"* Jármûved megjavítva (500$)) !\");
if(pickupid == rPickup && IsPlayerInAnyVehicle(playerid)) RepairVehicle(GetPlayerVehicleID(playerid));
return 1;
}
errort ad ki
C:\\Documents and Settings\\Rendszergazda\\Asztal\\repair.pwn(25) : error 030: compound statement not closed at the end of file (started at line 16)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.