Maybe you can help me? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Maybe you can help me? (
/showthread.php?tid=83780)
Maybe you can help me? -
arie9000nerd - 27.06.2009
HI!
since a long time i have a sa:mp server. But i got one problem: I can't add objects. I have seen tutorials, i asked friends.. but it doesn't work.
If i have made a map in mta sa and converted to CreateObject and placed it in pawno under the OnGameModeInit line and saved it to .pwn and .amx, and have 0 errors, it still not works!! CAN ANYONE please help me


?? What do i wrong??














PLEASE!!

?PLEASE!!

?PLEASE!!

?PLEASE!!

?PL EASE!!

?
P.S. Sorry for my bad english!!


THNX!
Re: Maybe you can help me? -
refshal - 27.06.2009
Show us your Filterscript. Then it will be easier to help you.
Re: Maybe you can help me? -
arie9000nerd - 27.06.2009
Quote:
Originally Posted by eddy_и
Show us your Filterscript. Then it will be easier to help you.
|
okey, i post i later.....
Re: Maybe you can help me? -
The_Tough - 25.07.2009
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
here do the following...first add your objects
Код:
CreateObject(X,Y,Z,rX,rY,rZ)
then go
Код:
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateObject(etc) // Here...dont place it above the return 1; or it causes "see down"
return 1;
}
Код:
function "OnGameModeInit" should return a value
number of arguments does not match definition
tag mismatch
unreachable code
'
You used any interiors?Try to use
Код:
Onplayercommandtext etc.../place1 and get a possition of one of your objects and set from interior 1-12 and check again if you see it