SA-MP Forums Archive
Need a scripters opinion - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need a scripters opinion (/showthread.php?tid=513544)



Need a scripters opinion - weedxd - 16.05.2014

I started to create my own robbery system now its being made as FS so i could fix the errors and compiling would be faster.

If i have done somthing wrong plss tell me already ;d

PHP код:
//Includes
    #include <a_samp>
     
public OnFilterScriptInit() {
//Cluckin Bell
    
CreateObject(2332381.20340, -8.712601001.26422,   0.000000.00000270.56149);
//BurgerShot
    
CreateObject(2332381.80200, -56.584301000.94318,   0.000000.000000.00000);
    return 
1;
}
//Cluckin Bell Checkpoint
    
if(!strcmp("/robstore",cmdtext))
{
    if(
IsPlayerInRangeOfPoint(playerid7.0381.20340, -8.712601001.26422))
    {
        
SendClientMessage(playerid,0xFFFFFFFF,"Press crouch to start robbery!");
    }
    return 
1;