12.07.2011, 06:52
yea played on ur server, looks great and script's fantastic; keep updating and good luck
enum
{
CLASS_SNIPER = 1,
CLASS_ASSAULT,
CLASS_ROCKET,
CLASS_PILOT,
CLASS_MEDIC
};
new pClass[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
switch(pClass[playerid])
{
case CLASS_SNIPER: {}
case CLASS_ASSAULT: {}
case CLASS_ROCKET: {}
case CLASS_PILOT: {}
case CLASS_MEDIC: {}
default: ShowPlayerDialog(...);
}
return 1;
}