Guest Odesláno: 20. Červen, 2012 Share Odesláno: 20. Červen, 2012 Ahoj. Vytvoril som si Public pre Vymazané objekty, ale naskajuje mi error. Public: public RemovedB(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius) { RemoveBuildingForPlayer(playerid, 3865, -2063.2422, 258.7500, 35.7422, 0.25); RemoveBuildingForPlayer(playerid, 3869, -2123.2891, 269.5313, 41.8516, 0.25); RemoveBuildingForPlayer(playerid, 3869, -2126.2109, 231.9766, 41.6875, 0.25); RemoveBuildingForPlayer(playerid, 3869, -2116.6797, 131.0078, 42.1484, 0.25); RemoveBuildingForPlayer(playerid, 3865, -2063.0156, 247.9453, 35.7422, 0.25); RemoveBuildingForPlayer(playerid, 3865, -2057.7500, 249.9531, 35.5938, 0.25); RemoveBuildingForPlayer(playerid, 3865, -2057.7031, 229.8047, 35.3516, 0.25); RemoveBuildingForPlayer(playerid, 3865, -2059.5313, 256.5234, 37.0078, 0.25); RemoveBuildingForPlayer(playerid, 3888, -2128.1797, 171.4609, 42.4297, 0.25); RemoveBuildingForPlayer(playerid, 3888, -2066.3594, 301.9141, 42.1719, 0.25); RemoveBuildingForPlayer(playerid, 3887, -2066.3594, 301.9141, 42.1719, 0.25); RemoveBuildingForPlayer(playerid, 3887, -2128.1797, 171.4609, 42.4297, 0.25); RemoveBuildingForPlayer(playerid, 3866, -2116.6797, 131.0078, 42.1484, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2082.5391, 153.5469, 40.1016, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2079.8203, 159.6719, 40.8906, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2111.8828, 172.4688, 40.1953, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2116.7500, 177.0781, 40.9844, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2064.2109, 210.1406, 41.2578, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2107.0313, 226.0391, 40.8438, 0.25); RemoveBuildingForPlayer(playerid, 10984, -2126.1563, 238.6172, 35.2656, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2102.2109, 230.7031, 40.0547, 0.25); RemoveBuildingForPlayer(playerid, 3866, -2126.2109, 231.9766, 41.6875, 0.25); RemoveBuildingForPlayer(playerid, 10986, -2130.0547, 275.5625, 35.3750, 0.25); RemoveBuildingForPlayer(playerid, 3866, -2123.2891, 269.5313, 41.8516, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2113.3125, 268.5078, 40.5703, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2118.1328, 263.8438, 41.3594, 0.25); RemoveBuildingForPlayer(playerid, 10985, -2099.2734, 292.9141, 35.0703, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2059.3438, 205.5313, 40.4688, 0.25); RemoveBuildingForPlayer(playerid, 3872, -2048.4531, 265.0938, 41.6563, 0.25); RemoveBuildingForPlayer(playerid, 3864, -2041.7500, 265.1016, 40.8672, 0.25); return 1; } Error: C:\Users\admin\Desktop\Pawno\gamemodes\samp.pwn(261) : error 025: function heading differs from prototype Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Link to comment Share on other sites More sharing options...
0 Vidie 5 Odesláno: 20. Červen, 2012 Share Odesláno: 20. Červen, 2012 Nemáš stejnej forward. Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 20. Červen, 2012 Share Odesláno: 20. Červen, 2012 Mám. Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 20. Červen, 2012 Share Odesláno: 20. Červen, 2012 modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius nechapu naco to tam mas Link to comment Share on other sites More sharing options...
0 AvestX 5 Odesláno: 20. Červen, 2012 Share Odesláno: 20. Červen, 2012 public RemovedB(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius) k čemu forward, k čemu novej public k čemu "modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius" ? error je kde ? tam kde tu funkci pouzivas ? jestli jo misto public RemovedB(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius) dej public RemovedB(playerid) protože je to tam na nic a k nicemu to nevyuzivas, k nicemu zadny cisla nepridavas, akorat playerid .. Link to comment Share on other sites More sharing options...
Dotaz
Guest
Ahoj. Vytvoril som si Public pre Vymazané objekty, ale naskajuje mi error.
Public:
Error:
Link to comment
Share on other sites
4 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now