Jump to content
  • 0

Question

Posted

Sall cand vreau sa fac la gm ca %s a intrat in masina am facut:SendClientAllMessage(playerid,0xF97804AA, "%s ai intrat in masina.");

si imi da eroarea aceasta :error 017: undefined symbol "SendClientAllMessage"

Ajutor va rog

tumblr_ll5sj3LUoZ1qgjpfvo1_250.gif

2 answers to this question

Recommended Posts

Posted

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!

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.