PHP Code:
#include <amxmodx>
#include <cstrike>
public plugin_init()
{
register_plugin("Ghostface for Terrorists", "1.0", "Jelle")
register_logevent("start",2,"1=Round_Start")
}
public plugin_precache()
{
precache_model("models/furien/ghostface.mdl")
}
public start()
{
new players[32], playerCount, i, player
get_players(players, playerCount, "ah")
for ( i = 0; i < playerCount; i++ )
{
players[i] = player
new CsTeams:Team = cs_get_user_team(player)
if ( Team == CS_TEAM_T )
{
cs_set_user_model(player, "ghostface.mdl")
}
}
}
Here, I fixed it. I suddenly remembered the team checking, no warnings when compiling now.
Have you read the picture tutorial?
I have made a small tutorial on how to make a superhero in superheromod. Every little detail is explained with comments, and it has been proven to be very helpful for a lot of people, it only raises very few questions. Maybe you are better off starting with that, because then you will surely know the basics.
Link:
http://forums.alliedmods.net/showthread.php?t=120051
__________________