Can someone here guide me step by step on how to build one? I'd be really glad if anyone with any experience on this subject guides me.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Xmair on Aug 22, 2016, 05:18 PMWhat is the actual error?
skin <- array(100, null);
function onPlayerCommand(player, cmd, text)
{
if(cmd=="changeskin")
{
if(!text) PrivMessage(player, "Error: try this instead: /changeskin <skin id>");
else if(!player.IsSpawned) PrivMessage(player, "Error, You need to spawn first!"):
else
{
player.Skin = ( IsNum(text) ? text.tointerger() : GetSkinID(text) );
}
}
else if(cmd=="saveskin")
{
if(!player.IsSpawned) PrivMessage(player, "Error: You need to spawn before you make use of any commands!");
else
{
MessagePlayer("You've successfully set your skin", player);
skin[player.ID] = player.Skin;
}
}
else if(cmd=="removeskin")
{
skin[player.ID] = null;
}
}
function onPlayerSpawn(player)
{
if(skin[player.ID]!=null)
{
PrivMessage(player, "You've spawned with the garments of your choice!");
player.Skin = skin[player.ID];
}
}
Quote from: Murdock on May 08, 2016, 05:13 PMSomewhere in 2005 VC:MP 0.1 made its first appearance, you can see the first dev video of VC:MP here https://www.youtube.com/watch?v=2f6UlHmZLuY
If you'd like to read more about the history of VC:MP check out this page http://www.grandtheftwiki.com/Vice_City_Multiplayer