Function/native for pay n' spray
#1

Hello, is there any function available for disabling car respraying in pay n' spray shops?
Reply
#2

return 0 at OnEnterExitModShop ?
Reply
#3

Quote:
Originally Posted by Hunud
Посмотреть сообщение
return 0 at OnEnterExitModShop ?
u high? OnEnterExitModShop doesn't even handle returns..

@op: add objects blocking the entrance
PHP код:
    CreateDynamicObject(58561024.98438, -1029.3515633.19530,   0.000000.0000090.00000);
    
CreateDynamicObject(57791041.35156, -1026.0346732.67190,   0.000000.0000090.00000);
    
CreateDynamicObject(54222071.47656, -1831.4218814.56250,   0.000000.000000.00000);
    
CreateDynamicObject(53402644.85938, -2039.2343814.03910,   0.000000.00000, -90.00000);
    
CreateDynamicObject(90932386.656251043.6015611.59380,   0.000000.0000090.00000);
    
CreateDynamicObject(10575, -2716.35156217.476595.38280,   0.000000.00000180.00000);
    
CreateDynamicObject(3294, -1420.546882591.1562557.74220,   0.000000.0000090.00000);
    
CreateDynamicObject(3294, -100.000001111.4140621.64060,   0.000000.0000090.00000);
    
CreateDynamicObject(9625, -2425.726561027.9921952.28130,   0.000000.0000090.00000);
    
CreateDynamicObject(11313, -1935.85938239.5313035.35160,   0.000000.0000090.00000);
    
CreateDynamicObject(11319, -1904.53125277.8984142.95310,   0.000000.0000090.00000);
    
CreateDynamicObject(6400488.28131, -1734.6953112.39060,   0.000000.0000078.19448);
    
CreateDynamicObject(78911968.742192162.4921912.09380,   0.000000.000000.00000); 
https://sampforum.blast.hk/showthread.php?tid=440380

http://bfy.tw/Coeb
Reply
#4

What's the point of it above when cheaters can pass tho it. It's a way simple
Reply
#5

Quote:
Originally Posted by Hunud
Посмотреть сообщение
What's the point of it above when cheaters can pass tho it. It's a way simple
Cheaters? Fucking ban them? What's the problem?

PHP код:
public OnEnterExitModShop(playeridenterexitinteriorid)
{
    if(
enterexit == 1
    {
        
Ban(playerid);
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)