SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 21/03/2017, 01:59 AM   #1
marshmallow
Little Clucker
 
marshmallow's Avatar
 
Join Date: Mar 2017
Posts: 16
Reputation: 0
Default Slap player

Hello i want when a player dont have driving license and want to enter car it slap you
too if car is not for your faction
__________________
My English is not perfect
marshmallow is offline   Reply With Quote
Old 21/03/2017, 03:24 AM   #2
Sew_Sumi
High-roller
 
Join Date: Jun 2008
Posts: 4,957
Reputation: 369
Default Re: Slap player

There's better options than "slapping"... That technique is so old.
Sew_Sumi is offline   Reply With Quote
Old 21/03/2017, 03:42 AM   #3
Toroi
Gangsta
 
Toroi's Avatar
 
Join Date: Feb 2017
Location: Venezuela
Posts: 744
Reputation: 137
Default Re: Slap player

Quote:
Originally Posted by Sew_Sumi View Post
There's better options than "slapping"... That technique is so old.
I wouldn't be mad if you slap me with these 4.000 posts.

OP: http://forum.sa-mp.com/showthread.php?t=447813
Toroi is offline   Reply With Quote
Old 21/03/2017, 06:51 AM   #4
xTURBOx
Huge Clucker
 
xTURBOx's Avatar
 
Join Date: Aug 2015
Location: Earth
Posts: 387
Reputation: 49
Default Re: Slap player

PHP Code:
if(PLAYER DOES NOT HAVE DRIVING LICENSE || vehicleid != NOT FOR PLAYERS FACTION)
{
    
RemovePlayerFromVehicle(playerid);

^simple idea
xTURBOx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Admin Onduty Slap player if shoot! jamesmith12 Scripting Help 3 21/07/2015 01:13 PM
/slap slaps you above ID 0 not the player being slapped Wizardking Scripting Help 1 20/01/2015 09:00 AM
When I use /slap on a player if they are driving, the speedo still displays.. Dokins Scripting Help 3 17/07/2012 01:36 PM
Slap command returns an Unknown Command when player is not connected HydraX Help Archive 16 01/08/2011 06:19 AM
Slap,TP,akill Didn't worked on a player![Resolved] Rufy General 3 12/06/2010 03:35 PM


All times are GMT. The time now is 05:27 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.