03.02.2012, 12:19
Hy, Guys I am making Vehicle Selection menu , and its work like typing 'next' in chat for next car but that text also shows to chat I want to stop this but HOW ?
Here my codes....
Thanks in ADVANCE.
Here my codes....
Код:
public OnPlayerText(playerid, text[])
{
if(P_CAR_Spawn == 0)
{
P_CAR_Model[playerid] = GetVehicleModel(P_CAR[playerid]);
if (strcmp("next", text, true) == 0)
{
DestroyVehicle(P_CAR[playerid]);
P_CAR[playerid] = CreateVehicle(539,1069.8643,-298.1687,73.8801,244.1427,253,86,0);
}
}
return 1;
}

