14.04.2009, 00:47
hey, not so sure about the liscene plate b4, never looked into it b4,
but with the slap part you could do a simple function something like
sorry that the syntax for playername wasnt right, im tired atm and dont have energy to make a new code in pawno xD
but hope that points you in the right direction
but with the slap part you could do a simple function something like
Code:
new PlayerName[MAX_PLAYER_NAME], string[128], str[128], file[256]; GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME); if(playername == blahblah && player is in car gflash or w.e you call it <<-- this statment would probably be pretty complex, it just looks simple cuz im not putting it out fully){ set player in car = false or just copy a /slap function from a admin script. heres the one mine uses new Float:Health, Float:x, Float:y, Float:z; GetPlayerHealth(player1,Health); SetPlayerHealth(player1,Health-25); GetPlayerPos(player1,x,y,z); SetPlayerPos(player1,x,y,z+5); PlayerPlaySound(playerid,1190,0.0,0.0,0.0); PlayerPlaySound(player1,1190,0.0,0.0,0.0);
but hope that points you in the right direction