Ma puteti ajuta ??
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if((vehicleid == carpd1) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==1 ||PlayerInfo[playerid][pLeader]==1) { }
else {
SendClientMessage(playerid, COLOR_GRAD, "** Nu nu esti membru PD !");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if((vehicleid == carpd1) && !ispassenger)
{
if(PlayerInfo[playerid][pMember]==1 ||PlayerInfo[playerid][pLeader]==1) { }
else {
SendClientMessage(playerid, COLOR_GRAD, "** Nu nu esti membru PD !");
new Float:cx, Float:cy, Float:cz;
GetPlayerPos(playerid, cx, cy, cz);
SetPlayerPos(playerid, cx, cy, cz);
}
}
return 1;
}