13.11.2012, 19:46
You would do SendClientMessage(playerid, color, message[]); OnPlayerRequestClass. Classes are given a ID. Starts from 0 and so on. So
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
SendClientMessage(playerid, -1, "You have selected CJ, This class has no perks and spawns with nothing");
}
else if(classid == 1)
{
SendClientMessage(playerid, -1, "You have selected SWAT, This class spawns with some weapons");
}
else if(classid == 2)
{
SendClientMessage(playerid, -1, "You have selected Balla, This is a gang member with little weapons");
}
return 1;
}