10.01.2018, 21:05
The line with SS[NumberOfVehicles]'s the problem
and yeah i dont want to use
And yeah how to setup this thing, i mean what to exchange with localhost, like the username of the details of FTP or?
pawn Код:
stock GetXYInBackOfPlayer(const playerid, &Float:x, &Float:y, const Float:distance)
{
new Float:a; GetPlayerPos(playerid, x, y, a); GetPlayerFacingAngle(playerid, a);
if (IsPlayerInAnyVehicle(playerid)) { new vid=GetPlayerVehicleID(playerid);
if (vid > 0 && vid < SS[NumberOfVehicles]) GetVehicleZAngle(vid, a); }
x -= (distance * floatsin(-a, degrees)); y -= (distance * floatcos(-a, degrees));
}
And yeah how to setup this thing, i mean what to exchange with localhost, like the username of the details of FTP or?
Код:
#define MAILER_URL "localhost/mailer.php"