12.12.2013, 16:25
pawn Код:
#define SetPlayerPosEx(%0,%1,%2,%3,%4) SetPlayerPos(%0,%1,%2,%3) && SetPlayerFacingAngle(%0,%4)
new TweetDesativado[MAX_PLAYERS];
new gstring[128];
stock SetPlayerInteriorEx(playerid,interiorid)
{
format(gstring, sizeof(gstring), "Interior setado para %d.", interiorid);
SendClientMessageEx(playerid, 0xB4B5B7AA, gstring);
SetPlayerInterior(playerid,interiorid);
}
stock SendClientMessageEx(playerid,color,message[])
{
if(TweetDesativado[playerid] == 0)
{
SendClientMessage(playerid,color,message);
}
return 1;
}
stock SendClientMessageToAllEx(color,message[])
{
for(new i=0; i<Maximo_Players; i++)
{
if(TweetDesativado[i] == 0)
{
SendClientMessage(i,color,message);
}
}
return 1;
}