if(strcmp(cmd, "/olspd", true) == 0)
{
if(gTeam[playerid] == TEAM_LSPD)
{
if(PlayerInfo[playerid][PoliceRank] >= 1)
{
MoveObject(olspd,246.411529,72.640029,1000.911437,4.0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not authorized to use that command.");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not a Police Officer.");
}
}
if(strcmp(cmd, "/clspd", true) == 0)
{
if(gTeam[playerid] == TEAM_LSPD)
{
if(PlayerInfo[playerid][PoliceRank] >= 1)
{
MoveObject(olspd,246.411529,72.640029,1003.640625,4.0);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not authorized to use that command.");
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not a Police Officer.");
return 1;
}
}
|
Originally Posted by ExtremePower
what errors you get? Post it
|
|
Originally Posted by ExtremePower
where is problem then? That dont working? And say me what you wanna that commands to do example /example (that command give 1000$)
|
