For some reason it's not working could somebody Help me out?
[QUOTE]
AddCSLuaFile( "cl_init.lua" )
AddCSLuaFile( "shared.lua" )
include( 'shared.lua' )
// Serverside only stuff goes here
/*---------------------------------------------------------
Name: gamemode:PlayerLoadout( )
Desc: Give the player the default spawning weapons/ammo
---------------------------------------------------------*/
function GM:PlayerSpawn( ply )
Self.BaseClass:PlayerSpawn( ply )
ply:SetGravity( 0, 90 )
ply:SetMaxHealth( 125, true )
ply:SetWalkSpeed( 325 )
ply:SetRunSpeed( 525 )
end
function GM:PlayerLoadout( ply )
ply:StripWeapons()
ply:Give( "weapon_crowbar" )
end
function GM:PlayerInitialSpawn()
self.BaseClass:PlayerInitialSpawn( ply )
if ply:IsAdmin() then
ply:PrintMessage( HUD_PRINTTALK, "Advanced Roleplay: Welcome Admin!" )
end
end
[/QUOTE]
[QUOTE]
GM.Name = "Advanced Roleplay"
GM.Author = "Swiftflame & Devilkill"
GM.Email = "N/A"
GM.Website = "http://Roleplay-Academy.com"
-- This code will derive the gamemode in sandbox
DeriveGamemode( "sandbox" )
function GM:Initialize()
self.BaseClass.Initialize( self )
end
[/QUOTE]
how does your gamemode folder look like?
do you get any error(s)?
It doesný give any error(s).
That's the wierd thing.
[IMG]http://roleplay-academy.com/image/image_01.jpg[/IMG]
Could it be Because of the Entitie Weapon_Crowbar is not in the Entities folder?
Rename your Gamemode Folder to Roleplay, You cant have spaces and dots n' shit in it.
Yes you can have dots ! The gamemode folder name for PERP is "perp2.5" !
BTW, what is happenning ? The loaded gamemode is Sandbox ? Or Base ? Or the gamemode loads but nothing changes ?
[QUOTE=MrManiak;36064531]Yes you can have dots ! The gamemode folder name for PERP is "perp2.5" !
BTW, what is happenning ? The loaded gamemode is Sandbox ? Or Base ? Or the gamemode loads but nothing changes ?[/QUOTE]
I already helped him, he added me to steam
Sorry, you need to Log In to post a reply to this thread.