388c062c96
added string include file renamed typeutil and its functions redid a bunch of the string natives string natives now register --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40238
29 lines
483 B
Plaintext
29 lines
483 B
Plaintext
#include <sourcemod>
|
|
|
|
public Plugin:myinfo =
|
|
{
|
|
name = "Test Plugin",
|
|
author = "BAILOPAN",
|
|
description = "Tests Stuff",
|
|
version = "1.0.0.0",
|
|
url = "http://www.sourcemod.net/"
|
|
}
|
|
|
|
copy(String:dest[], maxlength, const String:source[])
|
|
{
|
|
new len
|
|
|
|
while (source[len] != '\0' && len < maxlength)
|
|
{
|
|
dest[len] = source[len]
|
|
len++
|
|
}
|
|
|
|
dest[len] = '\0'
|
|
}
|
|
|
|
public bool:AskPluginLoad(Handle:myself, bool:late, String:error[], err_max)
|
|
{
|
|
return true
|
|
}
|