23.02.2012, 01:06
on your spec command do spec[playerid] = giveplayerid;
and do
on specoff have spec[playerid] = -1;
also on playerconnect
then
and do
on specoff have spec[playerid] = -1;
also on playerconnect
then
Код:
for(new i = 0; i != MAX_PLAYERS; i++) { if(spec[i] == playerid) { //dowhatyouwanthere } }