what is wrong here
#1

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
Reply
#2

(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.
Reply
#3

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
Reply
#4

Yes that is definitlt because it is missing float .... Add it and if doesnt work still then i will help you
Reply
#5

thxs for info dude it is working 100% fine
Reply
#6

Told you !!...By The Way mannu are you from India ?
Reply
#7

This is out Of Topic . This forum have a PM too
Reply
#8

yes peter i am indian
Reply
#9

Never spawn a train, your client crashed about 99% of the time.
Reply
#10

lol 1% is left so i will never give up
y the way thanks for info dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)