why this server is allways locked i wanna know how that server is X_X
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuelse if (strcmp(cmd, "!flip", true) == 0) {
new Float:X,Float:Y,Float:Z,Float:Angle;
SetVehicleHealth(GetPlayerVehicleID(playerid),1000);
GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
SetVehiclePos(GetPlayerVehicleID(playerid),X+3,Y+3,Z,Angle);
SendClientMessage(playerid, COLOR_YELLOW, "Flipping Your Car!");
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
RemovePlayerFromVehicle(playerid);
SetVehiclePos(GetPlayerVehicleID(playerid),X+3,Y+3,Z,Angle);
return 1;
}
else if (strcmp(cmd, "getall", true) == 0) {
tmp = strtok(cmdtext, idx);
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first");
else if(!IsPlayerCommandLevel(playerid,"bring")) SendClientMessage(playerid, COLOR_RED, "You don't have acces to this command!");
else { new Float:x, Float:y, Float:z, szMsg[256];
for(new i = 0; i <= MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) == 1)
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(i,x,y + 1.0,z,0,0);
format(szMsg,sizeof(szMsg),"Admin:[ %s ] brought all people to him",gPlayers[playerid]);
SendClientMessage(i,COLOR_GREEN, szMsg);
}
}
return 1;
}
if (strcmp(cmd, "getall", true) == 0)
{
if (IsPlayerAdmin(playerid) == 0) SendClientMessage(playerid,COLOR_GREEN,"You are not logged in as an admin.");
else {
tmp = strtok(cmdtext, idx);
for(new i = 0; i <= MAX_PLAYERS; i++) {
if(IsPlayerConnected(i) == 1)
GetPlayerPos(playerid,x,y,z);
SetPlayerPos(i,x,y + 1.0,z,0,0);
format(szMsg,sizeof(szMsg),"Admin:[ %s ] Trajo a todos hacia el",gPlayers[playerid]);
SendClientMessage(i,COLOR_GREEN, szMsg);
}
}
return 1;
}