18.02.2016, 05:48
PHP код:
if(PastoPakrovimoCP[playerid] == true ) //I thing you Can Make this
{
new Float:x, Float:y;
SendClientMessage(playerid, COLOR_RED, "Nuneskite deze i masina.");
ZaidejoPakrovimoCP[playerid] = 2;
PastoPakrovimoCP2[playerid] = true; // to make Work PastoPakrovimoCP2 Work
GetXYInFrontOfVehicle(PastininkoMasina[playerid],x, y, 3);
PastoPakrovimoCP2[playerid] = CreateDynamicCP( x,y,16.1953, 1.50, -1, -1, -1, 70.0);
DestroyDynamicCP(PastoPakrovimoCP[playerid]);
}
PHP код:
if(PastoPakrovimoCP2[playerid] == true) //
{
SendClientMessage(playerid, COLOR_RED, "Nueikite paimti deze.");
ZaidejoPakrovimoCP[playerid] = 1;
PastoPakrovimoCP[playerid] = CreateDynamicCP( 160.0599,-22.4180,1.5781, 1.50, -1, -1, -1, 90.0);
DestroyDynamicCP(PastoPakrovimoCP2[playerid]);
}