SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 26/07/2012, 09:44 PM   #1
Rudy_
High-roller
 
Rudy_'s Avatar
 
Join Date: Nov 2011
Location: Pakistan
Posts: 1,355
Reputation: 230
Default Weird Problem O_O

pawn Code:
forward ShotFire();
public ShotFire()
{
    FireShot[playerid] = 0;
    return 1;
}

pawn Code:
C:\Users\Warkadang\Desktop\Scripting\Scripting\filterscripts\Test.pwn(47) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
__________________
And now my Watch has Ended.


[Tutorial]
[TuT]How to create a car shooting Neon

[Filterscript]
Neon Vehicle Laser


__________________________________________________
Rudy_ is offline   Reply With Quote
Old 26/07/2012, 09:45 PM   #2
FireCat
High-roller
 
FireCat's Avatar
 
Join Date: Jul 2010
Posts: 2,322
Reputation: 609
Default Re: Weird Problem O_O

pawn Code:
forward ShotFire(playerid);
public ShotFire(playerid)
{
    FireShot[playerid] = 0;
    return 1;
}

Your forgot to specifie the 'playerid'
FireCat is offline   Reply With Quote
Old 26/07/2012, 09:45 PM   #3
Marlon_Lorran
Guest
 
Posts: n/a
Default Re: Weird Problem O_O

Code:
forward ShotFire(playerid);
public ShotFire(playerid)
{
    FireShot[playerid] = 0;
    return 1;
}
  Reply With Quote
Old 26/07/2012, 09:58 PM   #4
Rudy_
High-roller
 
Rudy_'s Avatar
 
Join Date: Nov 2011
Location: Pakistan
Posts: 1,355
Reputation: 230
Default Re: Weird Problem O_O

Oo thanks.
I should really stop scripting at Night "3:11 AM"
__________________
And now my Watch has Ended.


[Tutorial]
[TuT]How to create a car shooting Neon

[Filterscript]
Neon Vehicle Laser


__________________________________________________
Rudy_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some weird problem. vincee Server Support 3 12/12/2011 01:09 AM
Weird problem [IL]HeHu Scripting Help 9 09/09/2011 07:06 PM
Weird problem BuLLeT[LTU] Help Archive 1 09/08/2011 10:35 AM
Really, really weird problem ... Danny Help Archive 10 23/10/2010 03:38 PM
Weird Problem Torran Help Archive 17 24/01/2010 01:55 PM


All times are GMT. The time now is 05:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.