SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 19/09/2009, 09:38 PM   #21
[NYRP]Mike.
Huge Clucker
 
Join Date: Sep 2009
Posts: 423
Reputation: 1
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Allright' no problem, I'll take a look into it, Maybe release my own Version, All Credits to You,

- Mike.
[NYRP]Mike. is offline   Reply With Quote
Old 19/09/2009, 10:07 PM   #22
RaFsTar
Huge Clucker
 
Join Date: Jul 2009
Location: Madeira
Posts: 327
Reputation: 4
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by [NYRP
Mike. ]
Allright' no problem, I'll take a look into it, Maybe release my own Version, All Credits to You,

- Mike.
If you develop a different version, post it here.
RaFsTar is offline   Reply With Quote
Old 20/09/2009, 01:03 AM   #23
SanMarinoRP
Big Clucker
 
Join Date: Aug 2009
Posts: 153
Reputation: 0
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

I GET THIS ERROR!! HELP ME!!

Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
SanMarinoRP is offline   Reply With Quote
Old 20/09/2009, 01:58 AM   #24
Eazy_Efolife
High-roller
 
Join Date: Aug 2009
Posts: 1,143
Reputation: 15
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by SanMarinoRP
I GET THIS ERROR!! HELP ME!!

Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Code:
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
Eazy_Efolife is offline   Reply With Quote
Old 20/09/2009, 01:59 AM   #25
SanMarinoRP
Big Clucker
 
Join Date: Aug 2009
Posts: 153
Reputation: 0
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by SanMarinoRP
I GET THIS ERROR!! HELP ME!!

Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Code:
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
were do i place that script??!??!?
SanMarinoRP is offline   Reply With Quote
Old 20/09/2009, 01:59 AM   #26
Eazy_Efolife
High-roller
 
Join Date: Aug 2009
Posts: 1,143
Reputation: 15
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by SanMarinoRP
Quote:
Originally Posted by Compton's Eazy E
Quote:
Originally Posted by SanMarinoRP
I GET THIS ERROR!! HELP ME!!

Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Code:
strtok(const string[], &index)
{
	new length = strlen(string);
	while ((index < length) && (string[index] <= ' '))
	{
		index++;
	}

	new offset = index;
	new result[20];
	while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
	{
		result[index - offset] = string[index];
		index++;
	}
	result[index - offset] = EOS;
	return result;
}
were do i place that script??!??!?
ALL The way at the bottom
Eazy_Efolife is offline   Reply With Quote
Old 20/09/2009, 10:22 AM   #27
RaFsTar
Huge Clucker
 
Join Date: Jul 2009
Location: Madeira
Posts: 327
Reputation: 4
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by SanMarinoRP
I GET THIS ERROR!! HELP ME!!

Code:
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(323) : error 033: array must be indexed (variable "cmd")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 017: undefined symbol "strtok"
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(324) : error 033: array must be indexed (variable "tmp")
C:\DOCUME~1\HP_ADM~1\Desktop\dasd\FILTER~1\CARSYS~1.PWN(319) : warning 203: symbol is never used: "idx"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Or simply use Dini.inc
RaFsTar is offline   Reply With Quote
Old 20/09/2009, 04:57 PM   #28
[Sk]Noob
Big Clucker
 
Join Date: May 2009
Posts: 102
Reputation: 0
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Nice script..

Add /park - to park your car where ever u want it..

[Sk]Noob is offline   Reply With Quote
Old 20/09/2009, 05:44 PM   #29
RaFsTar
Huge Clucker
 
Join Date: Jul 2009
Location: Madeira
Posts: 327
Reputation: 4
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

Quote:
Originally Posted by [Sk
Noob ]
Nice script..

Add /park - to park your car where ever u want it..

When a player who owns a vehicle left is vehicle the car position is auto-saved.
RaFsTar is offline   Reply With Quote
Old 20/09/2009, 05:59 PM   #30
[NYRP]Mike.
Huge Clucker
 
Join Date: Sep 2009
Posts: 423
Reputation: 1
Default Re: [FS] Car System [Car Ownership + Fuel + Speedo] (Ideal for RPG)

EDIT -> More Colours, Easier Commands, Use of GameTextForPlayer.

[iurl=#]REMOVED[/iurl]
[NYRP]Mike. 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
[FilterScript] [FS] Vehicle Ownership System Zezombia Filterscripts 56 15/02/2011 06:45 AM
Best Car System & Ownership ? martim501 Help Archive 8 23/09/2010 08:09 PM
[FilterScript] [FS] Fuel system + Speedo (Ideal for RPG) RaFsTar Filterscripts 51 21/08/2010 03:22 AM
[Help] Car Ownership System matthew32112 Help Archive 3 11/04/2010 04:59 PM


All times are GMT. The time now is 11:05 PM.


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