Rhino Delete
#1

Hi, I want the player to be deleted when the tool was named Rhino. Can you help ?
I'm sorry for my bad English.

- The problem is solved.
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
new modelid = GetVehicleModel(vehicleid);
if(modelid == 432) //rhino
{
DestroyVehicle(vehicleid);
}
}
return 1;
}
Reply
#2

I can't understand what you mean
Reply
#3

Try https://sampwiki.blast.hk/wiki/RemovePlayerFromVehicle
Reply
#4

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
I can't understand what you mean
I wants to destroy the Rhino.
Reply
#5

why you create Rhino lol
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)