[FilterScript] Rob && Rape
#1

RPG
This is a simple rob and rape command for RPG server.

Commands:
/rob
/rape

Rob Command:

4 Chances
First: To fail in the rob.
Second: To success and divide the money on 10.
Third: To success and divide the money on 20.
Fourth: To success and divide the money n 5.


Rape Command:

2 Chances
First: To success
Second: To fail.
If the player successed to rape the other player the other player will still lost his health untill he die
You can...
Add in the hospital a thing that kill the timer and stop the player from losing his health.

Edit: Forgot the link again :P
Link: http://pastebin.com/n20ExqY5

Credits:
Rob command by: ME
Rape command by: Axey

This is a simple filterscript to help newbies with some RPG command.

Please Feddbaaaack !!
Ahmed_Nezoo
Reply
#2

Nice, keep it up!
Reply
#3

Pretty basic to say the least. But its nice to see someone who isn't requesting scripts and is creating his/her own.
Reply
#4

Nice + REP
Reply
#5

Tahnk You All
Reply
#6

well its giving errors please help me i past this in my Gamemode in last And compiled giving me errors help

C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ va/impl.inc(56 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ hooks/impl.inc(2624) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ timers/impl.inc(93) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 1674) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5045) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5099) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 512 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5157) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5186) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5215) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5244) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5273) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6640) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6719) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 675 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6797) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6836) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28459) : error 021: symbol already defined: "cmd_rob"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28474) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28490) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28506) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28539) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28544) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28546) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28553) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28555) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\RKCNR.pwn( 28560) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2856 : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28571) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28575) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2857 : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28579) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28581) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2854 : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2853 : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28601) : error 021: symbol already defined: "S@@_OnPlayerDeath"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#7

if(targetid == playerid) return SendClientMessage(playerid, COLOR_RED, "You can not rape yourself.");



However, gj.
Reply
#8

can u please explain me ? what i need to do with this? that rob rape cmd giving me errors i wanna fix them Help
f(targetid == playerid) return SendClientMessage(playerid, COLOR_RED, "You can not rape yourself.");
Reply
#9

This means that if the target id who player wants to rape equal to the player's id strop the raping process
Reply
#10

Quote:
Originally Posted by Dawood
Посмотреть сообщение
well its giving errors please help me i past this in my Gamemode in last And compiled giving me errors help

C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ va/impl.inc(56 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ va/impl.inc(573) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ hooks/impl.inc(2624) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\pawno\include\YSI\y_ timers/impl.inc(93) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 1674) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5045) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5099) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 512 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5157) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5186) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5215) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5244) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 5273) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6640) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6719) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 675 : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6797) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 6836) : warning 219: local variable "time" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28459) : error 021: symbol already defined: "cmd_rob"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28474) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28490) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28506) : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28539) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28544) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28546) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28553) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28555) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\RKCNR.pwn( 28560) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2856 : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28571) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28575) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2857 : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28579) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28581) : warning 217: loose indentation
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2854 : warning 204: symbol is assigned a value that is never used: "string1"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 2853 : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Dawood\Desktop\gscnr\gamemodes\GSCNR.pwn( 28601) : error 021: symbol already defined: "S@@_OnPlayerDeath"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
This happens because you put it in your gamemode so variables are defined and much more so you have to download ot and put it as filterscript
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)