SA-MP Forums

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

Thread Tools Display Modes
Old 02/03/2012, 11:48 AM   #1
Dark Crow
Big Clucker
Join Date: Feb 2012
Posts: 89
Reputation: 0
Default Help with Messages

MIstake by me so sry it was a simple error i didn't saw it -Removed
Dark Crow is offline   Reply With Quote
Old 02/03/2012, 11:53 AM   #2
Gamer_Z's Avatar
Join Date: Jun 2009
Location: Eindhoven, NL
Posts: 3,606
Reputation: 1354
Default Re: Help with Messages

array entries should be separated by a comma, the last entry not. eg:

new HelloWorld[10] = {0,1,2,3,4,5,6,7,8,9};
//is just the same like:
new HelloWorld[10] = 
	9//no comma
//and if you need to do it with strings:
new HelloWorld[10][32] = //10 is the amount of entries, 32 the max string size
	"abcdefghijklmnopqrstuvwxyz"//no comma
//and removed some entries:
new HelloWorld[7][32] =
	"vwx"//no comma

however (not related to the topic) enumerators may have the last entry ending with a comma.

Do not contact me for private help, please stop wasting your time trying to offer me a job
(Especially if you cannot pay the market rate for a developer)
If you are looking for scripters/mappers/staff/whatever look here
The only help I offer is my occasional reaction on the public forums
Gamer_Z is online now   Reply With Quote

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] P-Messages [Random Messages system] Pooh7 Filterscripts 5 30/11/2010 03:43 PM
[FilterScript] [FS]Messages. stylezzz Filterscripts 9 29/10/2010 06:00 PM
Messages :D dillo1000 Help Archive 4 24/10/2010 12:37 PM
messages sk1llz Help Archive 26 07/02/2009 07:24 PM

All times are GMT. The time now is 03:03 PM.

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