Help with this piece of code
#1

I cant believe it, I was all excited about finally completing a piece of pawno (other than the REALLY simple stuff) without any direct help and I get errors... Can you help me please?

I'm trying to write a simple script that resets a players weapons every 5 seconds unless they are in a specified zone.

under ongamemodeinit i have
Код:
SetTimer("WeaponsCheck", 5000, 1);
and at the bottom I have

http://pawno.pastebin.com/d248bc1a3

and I get this error

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


1 Error.
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)