21.04.2014, 16:50
Hey I need a small help with the CMD
After I use it the server shut down.
Код:
dcmd_vfix(playerid,params[]){
#pragma unused params
if(ServerInfo[Fix]==0){
CommandDisabled(playerid);
return 0;}
if(Account[playerid][pVip]>=1) if(ServerInfo[Fix]==1){
GetPlayerName(playerid,pname,sizeof(pname));
if(IsPlayerInAnyVehicle(playerid)){
if(AllowFixing[playerid]==true){
RepairVehicle(GetPlayerVehicleID(playerid));
GameTextForPlayer(playerid, "~g~Vehicle Fixed", 3000, 0);
SendClientMessageToAll(0x26E810FF,"[V.I.P]%s has fixed his Vehicle");}}
else{
SendClientMessage(playerid,COLOR_LIGHTRED,LanguageText[74]);
return 1;}}
return 1;}

