14.10.2011, 00:53
fala galera
eu to com um gm ake ai tem esse cmd
[pawn]if(strcmp(cmd, "/virar", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:X, Float:Y, Float:Z;
if(logado[playerid] == 1)
{
if(PlayerInfo[playerid][pAdmin] >= 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetCameraBehindPlayer(playerid);
GetPlayerPos(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0);
}[pawn/]
ai queria saber como colocar esse comando so pra adm
vlw galera
eu to com um gm ake ai tem esse cmd
[pawn]if(strcmp(cmd, "/virar", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1)
{
new Float:X, Float:Y, Float:Z;
if(logado[playerid] == 1)
{
if(PlayerInfo[playerid][pAdmin] >= 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetCameraBehindPlayer(playerid);
GetPlayerPos(playerid, X, Y, Z);
SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 0);
}[pawn/]
ai queria saber como colocar esse comando so pra adm
vlw galera