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.
PHP код:
//Includes
#include <a_samp>
public OnFilterScriptInit() {
//Cluckin Bell
CreateObject(2332, 381.20340, -8.71260, 1001.26422, 0.00000, 0.00000, 270.56149);
//BurgerShot
CreateObject(2332, 381.80200, -56.58430, 1000.94318, 0.00000, 0.00000, 0.00000);
return 1;
}
//Cluckin Bell Checkpoint
if(!strcmp("/robstore",cmdtext))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 381.20340, -8.71260, 1001.26422))
{
SendClientMessage(playerid,0xFFFFFFFF,"Press crouch to start robbery!");
}
return 1;
}