- เครดิต
- 31
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(strcmp(cmd, "/fixvehall", true) == 0) // Credit Mr_James ถ้าลบเครดิตแสดงว่าเลวมากๆอะ
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 5)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
{SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);SetVehicleHealth(, 1000.0);
}
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You do not have permission to use that command!");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You Must be logged in to use this command!");
}
return 1;
} |
|