streamer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: streamer (
/showthread.php?tid=238966)
streamer -
xir - 12.03.2011
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
Re: streamer -
Kwarde - 12.03.2011
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.
Re: streamer -
xir - 12.03.2011
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?
Re: streamer -
MadeMan - 12.03.2011
pawn Код:
DestroyDynamicPickup(Houses[id][PickupID]);
Houses[id][PickupID] = CreateDynamicPickup(1273,1,Houses[id][EnterX], Houses[id][EnterY], Houses[id][EnterZ]);
Re: streamer -
xir - 12.03.2011
Thank you MadeMan! You always save me