19.04.2013, 19:28
pawn Код:
public OnPlayerEnterVehicle ( playerid, vehicleid, ispassenger )
{
new Float:Pos [ 3 ] ;
if ( IsAGrooveCar ( vehicleid ) && !ispassenger )
{
if ( !IsAGroove ( playerid ) )
{
SendClientMessage(playerid, COLOR_GREY, "[ ERRO ]: Vocк nгo й um membro da Groove Street" ) ;
GetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] ) ;
SetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] ) ;
}
}
return 1;
}