SenClientMessage!
#1

hello anyone can help me? I repeat the message twice

Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(Joined[playerid] == true)
{
PutPlayerInVehicle(playerid, CreatedRaceVeh[playerid], 0);
SendClientMessage(playerid,VERDELIMA, "No puedes Bajar de tu vehiculo, para abandonar la carrera Usa /Salir");
}
Reply
#2

what you mean dude .... explain more , is ur code is printing his self twice automaticly ?
Reply
#3

the message goes twice
Reply
#4

True to add , return 1; and let's see what's gonna happen
Reply
#5

Quote:
Originally Posted by MCZOFT
Посмотреть сообщение
True to add , return 1; and let's see what's gonna happen
was the first thing I did ._. but was not solved, I think friend because the function applies very fast but I I did this:
Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(Joined[playerid] == true)
{
PutPlayerInVehicle(playerid, CreatedRaceVeh[playerid], 0);
if(IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,0x00FF00AA,"No puedes Bajar de tu vehiculo, para abandonar la carrera Usa /Salir");
}
what you do now first check that the target vehicle inside the vehicle if you can send the message
Solved with help from you and wiki samp

thanks
Reply
#6

Good luck then brother
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)