I have a problem, help please.
#2

pawn Код:
COMMAND:eject(playerid, params[])
{
    if(ALygis[playerid] < 1) return SendClientMessage(playerid,raudona,"[FunZoneLT]>> Jus negalite naudoti sitos komandos.");
    new zaidejoid;
    if(sscanf(params,"u",zaidejoid)) return SendClientMessage(playerid,orandzine,"{FBDF89}[FunZoneLT]>> /eject [zaidejoid]");
    if(!IsPlayerConnected(zaidejoid)) return SendClientMessage(playerid, raudona, "[FunZoneLT]>> Tokio zaidejo nera.");
    if(!IsPlayerInAnyVehicle(zaidejoid)) return SendClientMessage(playerid, raudona, "[FunZoneLT]>> Zaidejas ne masinoje!");
    new string[100], zvardas[MAX_PLAYER_NAME], vardas[MAX_PLAYER_NAME];
    GetPlayerName(zaidejoid, zvardas, sizeof(zvardas));
    GetPlayerName(playerid, vardas, sizeof(vardas));
    format(string, sizeof(string), "[FunZoneLT]>> Tu ismetei, %s is masinos.", zvardas);
    SendClientMessage(playerid, COLOR_LIMEGREEN, string);
    format(string, sizeof(string), "[FunZoneLT]>> Tave ismete is masinos %s.", vardas);
    SendClientMessage(zaidejoid, COLOR_LIMEGREEN, string);
    RemovePlayerFromVehicle(zaidejoid);
    return 1;
}
Reply


Messages In This Thread
I have a problem, help please. - by Type-R - 04.05.2011, 22:12
Re: I have a problem, help please. - by MadeMan - 04.05.2011, 22:16
Re: I have a problem, help please. - by TheGarfield - 04.05.2011, 22:17
Re: I have a problem, help please. - by Type-R - 04.05.2011, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)