Map-icon on command? - 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)
+--- Thread: Map-icon on command? (
/showthread.php?tid=482098)
Map-icon on command? -
Tuntun - 19.12.2013
Hello,I'm using PPC Trucking. And i want to add something. There is a cmd
/createhouse to create a house.
So,I want to make something like: after created a house somewhere the map icon will be added.
the red house icon. This:
Map icon id: 31 .
And if someone buy the house than the map icon should be like this:
And another help is: after we kick/warn/ban someone it dosen't show for him/in the mainchat... the message should be shown.
Re: Map-icon on command? -
Tuntun - 19.12.2013
Anyone help?
Re: Map-icon on command? -
doreto - 19.12.2013
1) -
Read after Scripting Help
2) -
https://sampwiki.blast.hk/wiki/Kick read important Note
Edit: also read in
General Forum Rules section about
No Double Posting
Re: Map-icon on command? -
Tuntun - 19.12.2013
Maybe this is not my answer..
Re: Map-icon on command? -
RowdyrideR - 19.12.2013
Or you can just do it like:
Код:
forward kick(playerid);
public kick(playerid)
{
Kick(playerid);
return 1;
}
CMD:test(playerid, params[])
{
// Do whatever you want to do. (messages)
SetTimerEx("kick",10, false, "i", playerid); //Timer to kick the player
return 1;
}