Jump to content
  • 0

Problema gm


Jack

Question

2 answers to this question

Recommended Posts

Lol nimic nu ai facut bn xD

Trebuie asa

[pawn]

public OnPlayerEnterVehicle( playerid, vehicleid, ispassenger )

{

    new str[ 128 ], pname[ 30 ];

    GetPlayerName( playerid, pname, 30 );

    format( str, 128, "%s ai intrat in masina.", pname );

    SendClientMessageToAll( CULOAREA TEXTULUI, str );

    return 1;

}

[/pawn]

Si cand iese din vehicul:

[pawn]

public OnPlayerExitVehicle(playerid, vehicleid)

{

    new str[ 128 ], pname[ 30 ];

    GetPlayerName( playerid, pname, 30 );

    format( str, 128, "%s ai iesit din masina.", pname );

    SendClientMessageToAll( CULOAREA TEXTULUI, str );

    return 1;

}

[/pawn]

Si dc nu ai postat la 'Discutii Scripting'?  :undecided:

Fara reclama in semnatura!

Link to comment
Share on other sites

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.