És így?
#define FILTERSCRIPT
#include a_samp
new playerVehicle[MAX_PLAYERS];
stock CheckSobeit(playerid) {
ResetPlayerWeapons(playerid);
playerVehicle[playerid] = CreateVehicle(457, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 0, -1);
PutPlayerInVehicle(playerid, playerVehicle[playerid], 0);
RemovePlayerFromVehicle(playerid);
DestroyVehicle(playerVehicle[playerid]);
SetPlayerPos(playerid, 0.0, 0.0, 10000.0);
SetTimerEx(\"AntiSobeit\", 1000, false, \"i\", playerid);
}
function AntiSobeit(playerid) {
new _weapons[2];
GetPlayerWeaponData(playerid, 1, _weapons[0], _weapons[1]);
if(_weapons[0] == WEAPON_GOLFCLUB) {
// S0beit-et használ
}else{
// Nem használ S0beit-et
}
return 1;
}