A Error Message Needed For this command!
#4

pawn Код:
CMD:pirate(playerid, params[])
{
    if(pirated[playerid] == 0) return SendClientMessage(playerid, -1, "You created the ship, please use /removeship");
    new Float:x,Float:y,Float:z,Float:a;
    GetPlayerPos(playerid,x,y,z);
    GetPlayerFacingAngle(playerid,a);
    piratev[playerid] = CreateVehicle(484,x+3,y+3,z,a,1,1,10000);
    pirateo[playerid] = CreateObject(8493, 0.195679, 0.113892, -10.283400, 0.0, 0.0, 96.0);
    LinkVehicleToInterior(piratev[playerid], 10);
    PutPlayerInVehicle(playerid, piratev[playerid], 0);
    pirated[playerid] = 1;
    AttachObjectToVehicle(pirateo[playerid], piratev[playerid], 7.0, 0.0, 16.0, 0.0, 0.0, 0.0);
    SendClientMessage(playerid, COLOR_YELLOW, "To remove the piratefun do /pirateremove.!");
    return 1;
}
Reply


Messages In This Thread
A Error Message Needed For this command! - by fadhilkab - 03.07.2012, 19:58
Re: A Error Message Needed For this command! - by .FuneraL. - 03.07.2012, 20:05
Re: A Error Message Needed For this command! - by fadhilkab - 03.07.2012, 20:28
Re: A Error Message Needed For this command! - by WagnerPM - 03.07.2012, 20:38
Re: A Error Message Needed For this command! - by fadhilkab - 04.07.2012, 10:23

Forum Jump:


Users browsing this thread: 1 Guest(s)