Jump to content

Question

7 answers to this question

Recommended Posts

Posted

Asa ?

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new pName[24];
    new string[128];
    GetPlayerName(playerid, pName, 24);
    format(string, 128, "* %s s-a urcat in masina .", pName);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
    new pName[24];
    new string[128];
    GetPlayerName(playerid, pName, 24);
    format(string, 128, "* %s a coborat din masina .", pName);
    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    return 1;
}

i0418xcttya707ofg.jpg

Posted

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new pName[24];
    new string[128];
    GetPlayerName(playerid, pName, 24);
    format(string, 128, "* %s s-a urcat in masina .", pName);
    SendMessageToAll(COLOR_RED, string);
    return 1;
}

Nu am verificat ca l-am facut in graba. Vezi daca merge, si asa faci si la alalalt.

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Posted
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new pName[24];
    new string[128];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string),"%s s-a urcat in masina.", pName);
    SendClientMessageToAll(COLOR_RED, string);
    return 1;
}

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.