20.06.2014, 15:47
Hello
I have this script and i am trying to fix it. Here are some errors which i am getting when i try to compile it.
Lines 1148 - 1155 - (WCRP.pwn)
Lines 31 - 40 - (help.pwn)
I have this script and i am trying to fix it. Here are some errors which i am getting when i try to compile it.
Код:
wcrp\help.pwn(40) : error 029: invalid expression, assumed zero C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(1148) : error 025: function heading differs from prototype C:\Users\USER\Documents\Backup\RP\pawno\WCRP.pwn(1152) : error 025: function heading differs from prototype
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart) { factionsOnPlayerGiveDamage(playerid, damagedid, amount, weaponid); acOnPlayerGiveDamage(playerid, damagedid, amount, weaponid); } public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart) { boxingOnPlayerTakeDamage(playerid, issuerid, amount, weaponid); //damageSystemOnPlayerTakeDamage(playerid, issuerid, amount, weaponid); }
Код:
new RandomTips[][ERandomTipInfo] = { {"You can use your locker at Unity to store items such as guns, materials, and money"}, {"You can get your driving license at City Hall"}, {"If you join a family you can participate in Turf/Point wars and win items!"}, {"You can buy a lotto ticket at any 24/7"}, {"You can get a cell phone at any 24/7"}, {"Do /settings to turn off these hints, and more!"}, {"Check out our forums and website at: http://www.scrp.byethost31.net"}, //{"Join us on TeamSpeak: voice.wc-rp.net"} }