16.11.2009, 23:31
Quote:
Originally Posted by [LCG
TANKER ]
very nice, just having a tiny issue with it, just been futzing around with it and i seam to have broke something xD its a warning but ya... |
pawn Code:
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerTeamFromClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = TEAM_ARMY;
return 1;
}
else if(classid == 1)
{
gTeam[playerid] = TEAM_REBAL;
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "ARMY!");
}
else if(classid == 1)
{
SendClientMessage(playerid, COLOR_BLUE, "REBAL!");
}
return 1;
}
And to make people spawn as a cop or a gang member, you want them to choose a skin or it to be random??