Help with this piece of code
#9

Quote:
Originally Posted by ThePS3Guy
ok thanks. i sort of understand how i works now..

but is there a way to fix "playerid and vehicleid" errors? I would just post my script but im determined to learn rather than get.
What I mean is, in my script I am using "if(GetVehicleModel(vehicleid) == 432, 425, 520)" under "public WeaponsVehicleCheck()" and it says

Код:
C:\Documents and Settings\Administrator\Desktop\SAMP\sampserver\gamemodes\Sky'sStunts'nStuff.pwn(718) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrator\Desktop\SAMP\sampserver\gamemodes\Sky'sStunts'nStuff.pwn(720) : error 017: undefined symbol "vehicleid"
C:\Documents and Settings\Administrator\Desktop\SAMP\sampserver\gamemodes\Sky'sStunts'nStuff.pwn(722) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
is there a way to tell it to use the cmd playerid?
maybe MAYBE this will work:

if(GetVehicleModel(vehicleid) == 432, 425, 520);
Reply


Messages In This Thread
Help with this piece of code - by ThePS3Guy - 10.08.2009, 20:15
Re: Help with this piece of code - by M4S7ERMIND - 10.08.2009, 20:52
Re: Help with this piece of code - by ThePS3Guy - 10.08.2009, 21:09
Re: Help with this piece of code - by .::: Ecko :::. - 10.08.2009, 21:14
Re: Help with this piece of code - by Klutty - 10.08.2009, 21:16
Re: Help with this piece of code - by Joe Staff - 10.08.2009, 21:16
Re: Help with this piece of code - by .::: Ecko :::. - 10.08.2009, 21:29
Re: Help with this piece of code - by ThePS3Guy - 10.08.2009, 21:30
Re: Help with this piece of code - by Criss_Angel - 10.08.2009, 21:40
Re: Help with this piece of code - by ThePS3Guy - 10.08.2009, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)