Help again
#2

pawn Код:
if(!strcmp(cmdtext,"/lock",true))
{
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFFFFFAA,"Error: You have to be inside a vehicle.");
    for(new i=0; i < MAX_PLAYERS; i++)
    {
        if(i == playerid) continue;
        SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i,0,1);
    }
    SendClientMessage(playerid,0xFFFFFFAA,"You have locked your car");
    return 1;
}
Reply


Messages In This Thread
Help again - by FireCat - 01.09.2010, 12:55
Re: Help again - by LarzI - 01.09.2010, 13:12

Forum Jump:


Users browsing this thread: 2 Guest(s)