/fixveh command messed up
#1

Hello I made this command.. It isn't working.. Can anyone fix it for me (im not getting errors it just doesn't do anything ingame)
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/fixveh", cmdtext, true, 10) == 0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
    new name[MAX_PLAYER_NAME], string[44];
    GetPlayerName(playerid, name, sizeof(name));
    if(strcmp(name, "[BM]Jimmy", true) == 0)
    RepairVehicle(GetClosestCar(playerid));
    SetVehicleHealth(vehicleid, 1000.0);

   
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
/fixveh command messed up - by jurtes - 16.10.2010, 12:27
Re: /fixveh command messed up - by Cameltoe - 16.10.2010, 12:38
Re: /fixveh command messed up - by boelie - 16.10.2010, 12:42
Re: /fixveh command messed up - by jurtes - 16.10.2010, 14:15
Re: /fixveh command messed up - by Rachael - 16.10.2010, 14:49
Re: /fixveh command messed up - by Scenario - 16.10.2010, 15:33
Re: /fixveh command messed up - by [NoV]LaZ - 16.10.2010, 15:41
Re: /fixveh command messed up - by Scenario - 16.10.2010, 15:49
Re: /fixveh command messed up - by Rachael - 16.10.2010, 16:18
Re: /fixveh command messed up - by jurtes - 17.10.2010, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)