what is wrong here - 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: what is wrong here (
/showthread.php?tid=73456)
what is wrong here -
mannu - 15.04.2009
when i put this code in my Menu it gives me warnings
Код:
case 0:
if(IsPlayerConnected(playerid))
{
GetPlayerPos(playerid, x, y, z);
CreateVehicle(579,x ,y+5,z,6, 3, 1000000000);//line 661
PutPlayerInVehicle(playerid,579,0);
}
Код:
F:\GTA SAN ANDREAS\GTA SA\GTA-SanAndreas\samp02Xserver.win32\filterscripts\tunemenu.pwn(661) : warning 202: number of arguments does not match definition
Re: what is wrong here -
Clum` - 15.04.2009
(modelid, Float

, Float:y,Float:z, Float:angle, color1, color2, respawn_delay)
(579, x , y+5, z, 6, 3, 1000000000);//line 661
Missing Float:Angle parameter.
Re: what is wrong here -
mannu - 15.04.2009
dude thxs very very much

i had created a all vehicle menu(including train also)
selling it for 30$
if you want i can give it you for free as a reward
but you shall not sell it/or give it for free to other
Re: what is wrong here -
Peter_Corneile - 15.04.2009
Yes that is definitlt because it is missing float .... Add it and if doesnt work still then i will help you
Re: what is wrong here -
mannu - 15.04.2009
thxs for info dude it is working 100% fine
Re: what is wrong here -
Peter_Corneile - 15.04.2009
Told you !!...By The Way mannu are you from India ?
Re: what is wrong here -
Danut - 15.04.2009
This is out Of Topic . This forum have a PM too
Re: what is wrong here -
mannu - 15.04.2009
yes peter i am indian
Re: what is wrong here -
hanzen - 15.04.2009
Never spawn a train, your client crashed about 99% of the time.
Re: what is wrong here -
mannu - 15.04.2009
lol 1% is left so i will never give up
y the way thanks for info dude