1
mIRC/pawn Scripting / Re: How to..
« on: January 01, 2009, 08:12:59 pm »
off topic, hey Mave are u the one from SAMP?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
elseif (buyprop* iswm $3) {
if ($4) WSV.buyprop $2 $4
else WSV.msg $2 Please type !buyprop <propid>
}
elseif (sellprop* iswm $3) {
if ($4) WSV.sellprop $2 $4
else WSV.msg $2 Please type !sellprop <propid>
}
elseif (shareprop* iswm $3) {
if ($5) WSV.shareprop $2 $4 $5
else WSV.msg $2 Please type !shareprop <propid> <nick>
}
elseif (delshareprop* iswm $3) {
if ($5) WSV.delshareprop $2 $4 $5
else WSV.msg $2 Please type !delshareprop <propid> <nick>
}
elseif (myprop* iswm $3) {
if (!$4) && ($2 < %maxplayers) WSV.say $WSV.myprops($2)
else {
if ($WSV.pass($4)) WSV.say $WSV.myprops($4)
elseif ($WSV.pconnected($4)) WSV.say $WSV.myprops($4)
else WSV.say ** $4 is not a registered nick-name
}
}
elseif (propspawn* iswm $3) WSV.propspawn $1-
elseif (gotoprop* iswm $3) WSV.gotoprop $1-
elseif ($2 < 100) WSV.msg $2 Invalid Command
}
elseif ($2 < 100) WSV.msg $2 Invalid/Login-Only Command
}
on *:SIGNAL:WSV.pickuphit: {
elseif ($3 == 508) {
WSV.msg $2 You pickup a teletransport pickup! I will transport you to Upside
WSV.setlocation $2 -868.671265 -116.157364 11.100804
}