streamer
#1

hello all, long time ago when i worked on this gamemode, i used the eRP Pickup Streamer and i want to make it with Incognito streamer plugin

this streamer
https://sampforum.blast.hk/showthread.php?tid=57076

Could you tell me what is the functions for Incognito streamer plugin with these from erp pick

pawn Код:
ChangeStreamPickupModel
MoveStreamPickup
CreateStreamPickup
Reply
#2

CreateStreamPickup:
CreateDynamicPickup

To change model, just remove (RemoveDynamicPickup) and create it again (CreateDynamicPickup)
The same with moving. At least as far as I know you have to do this.
Reply
#3

this code
pawn Код:
COMMAND:asellhouse(playerid, params[])
{
    if(!PLVL[playerid]) return 0;
    if(GetPlayerAdmins(playerid) < 5) return 0;
    new id;
    if(sscanf(params, "d", id)) return SendClientMessage(playerid, Yellow, "Usage: /asellhouse <house id>");
    Houses[id][Locked] = 1;
    Houses[id][Owned] = 0;
    strmid(Houses[id][Owner], "None", 0, strlen("None"), 255);
    CreateDynamicPickup(Houses[id][PickupID],1273);
    CreateDynamicPickup(Houses[id][PickupID],Houses[id][EnterX], Houses[id][EnterY], Houses[id][EnterZ]);
    SaveHouses();
    new form[128];
    format(form, sizeof(form), "You have sold house ID: %d", id);
    SendClientMessage(playerid, AdminColor, form);
    return 1;
}
I get this error
pawn Код:
number of arguments does not match definition
please help?
Reply
#4

pawn Код:
DestroyDynamicPickup(Houses[id][PickupID]);
Houses[id][PickupID] = CreateDynamicPickup(1273,1,Houses[id][EnterX], Houses[id][EnterY], Houses[id][EnterZ]);
Reply
#5

Thank you MadeMan! You always save me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)