Jump to content
  • 0

Problema script


meoro

Question

Salutare

Eu nu prea ma pricep la script cam deloc... Cand compilez compilez un gm imi da uroatoarele oerori:

D:\Jocuri\Server SA-MP\gamemodes\SDR 2.pwn(1463) : error 017: undefined symbol "SetDisabledWeapons"
D:\Jocuri\Server SA-MP\gamemodes\SDR 2.pwn(2292) : error 025: function heading differs from prototype
D:\Jocuri\Server SA-MP\gamemodes\SDR 2.pwn(2298) : error 025: function heading differs from prototype
D:\Jocuri\Server SA-MP\gamemodes\SDR 2.pwn(2304) : error 025: function heading differs from prototype
D:\Jocuri\Server SA-MP\gamemodes\SDR 2.pwn(8911) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Liniilea acela sunt: 1462
	SetDisabledWeapons(43,44,45);
2292
	SetPlayerHealth(playerid, -999);
2298
public OnVehiclePaintjob(vehicleid,paintjobid)
2304
public OnVehicleRespray(vehicleid,color1,color2)
8911
public OnPlayerPrivmsg(playerid, recieverid, text[])

Va rog, imi puteti spune si mie care sunt greselile ? :-s

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

	SetDisabledWeapons(43,44,45);
Nu mai exista in SA:MP aceasta functie, sterge-o.
	SetPlayerHealth(playerid, -999);
incearca sa pui doar
	SetPlayerHealth(playerid, 0);

public OnVehiclePaintjob(vehicleid,paintjobid)
inlocuieste cu
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)

public OnVehicleRespray(vehicleid,color1,color2)
inlocuieste cu
public OnVehicleRespray(playerid, vehicleid, color1, color2)

public OnPlayerPrivmsg(playerid, recieverid, text[])

Sterge toata functia, a fost scoasa in SA:MP




Data viitoare intra pe http://wiki.sa-mp.com si cauta functiile respective.

PS: Bun venit in lumea 'scriptului'.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.