|
Author
|
Message
|
|
Veteran Member
Join Date: Oct 2004
Location: US
|

04-03-2006
, 00:01
|
#1
|
Quote:
|
Originally Posted by Basic-Master
Code:
new gaben[64]
if (is_user_alive(alfred))
gaben = "oh, it's true, devouur!"
else
gaben = "NOES, damn"
|
Ahem
Code:
new gaben[64]
if (is_user_alive(alfred))
copy(gaben , 63 , "oh, it's true, devouur!")
else
copy(gaben , 63 , "NOES, damn")
Quote:
|
Originally Posted by Pawn Tutorial - AmWiki
You CANNOT do this! While it may compile, it is highly dangerous as it might cause overflow errors:
Code:
new myString[6]
myString = "Hello" //INVALID!
myString[0] = "Hello" //INVALID!
//To add data to a string, you can do this:
new goodString[7]
copy(goodString, 6, "Hello")
|
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116
I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
|
|
|
|