Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
error 006: must be assigned to an array
Vaki
Big Clucker
Posts: 66
Threads: 25
Joined: Feb 2015
Reputation:
0
#1
07.09.2015, 15:32
Please help..
Find
Reply
Dutheil
Gangsta
Posts: 507
Threads: 29
Joined: Jul 2014
Reputation:
0
#2
07.09.2015, 15:36
What is the size of pIme ?
Find
Reply
Vaki
Big Clucker
Posts: 66
Threads: 25
Joined: Feb 2015
Reputation:
0
#3
07.09.2015, 15:42
Where i can see this , sry im new in scripting..
Find
Reply
Vince
Spam Machine
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
#4
07.09.2015, 16:11
Quote:
Originally Posted by
Dutheil
What is the size of pIme ?
Doesn't matter, for array assignments both operands must have the same number of dimensions. @OP: look up strcpy. Also please use a switch (or better yet, a constant array) instead of ridiculously long and repetitive else-if statements.
Find
Reply
Vaki
Big Clucker
Posts: 66
Threads: 25
Joined: Feb 2015
Reputation:
0
#5
07.09.2015, 16:34
Can you better explane or easy because im bad speaking English
Find
Reply
Syzygy1
Little Clucker
Posts: 25
Threads: 5
Joined: Aug 2015
Reputation:
0
#6
07.09.2015, 17:06
Код:
format(PlayerInfo[target][pIme], [insert size of pIme here], "%s", GetName(target));
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help