23.08.2010, 22:34
ops garfield, fail, fica assim:
pawn Код:
#define vagabundos 0
//
new gTeam[MAX_PLAYERS];
new gPlayerClass[MAX_PLAYERS];
//
public OnPlayerRequestClass(playerid, classid)
{
gPlayerClass[playerid] = classid;
switch (classid)
{
if(classid == 10)// id da classe:
{
GameTextForPlayer(playerid,"Vagabas",Tempo,EStilo);
}
}
return 1;
}
//
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == vagabundos)
{
SetPlayerPos(playerid,...
}
}
return 1;
}