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
Help Archive
Threaded Mode
What is tmp?
Torran
High-roller
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
#1
07.02.2010, 21:21
pawn Код:
new
tmp
[
30
]
;
Getting some errors bout it, Can someone explain to me it?
Someone explain the
tmp
And the
[30]
Find
Reply
mansonh
Gangsta
Posts: 602
Threads: 3
Joined: Jun 2009
Reputation:
0
#2
07.02.2010, 21:31
tmp is a string of length 30.
it can also be treated as an array.
Find
Reply
Torran
High-roller
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
#3
07.02.2010, 21:32
And what could i do to
new tmp[30];
to fix this:
Код:
error 047: array sizes do not match, or destination array is too small
Find
Reply
Mikep.
Huge Clucker
Posts: 465
Threads: 34
Joined: Sep 2009
Reputation:
0
#4
07.02.2010, 21:33
Use [256], or stop using strtok().
Find
Reply
Torran
High-roller
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
#5
07.02.2010, 21:36
Thankyou
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: 3 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive