SA-MP Forums Archive
*** This topic title is not descriptive. - 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: *** This topic title is not descriptive. (/showthread.php?tid=390438)



*** This topic title is not descriptive. - Knight_Rider - 06.11.2012

I want a code for my server like
If the person written the msg on the screen
He gets money like
Jansish is fucked by Lithion .
And other msges
So he will get 3000$

Thank you
__________________
‎#include <iostream.h>
#include <conio.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <ctype.h>
#include <sleep.h>
#include <sleep.h>
#include <sleep.h>

void main(){
clrscr();
cout<<"Let's sleep";
getch();
}


Re: Code - XtremeR - 06.11.2012

its to simple to do that
for message on screen use
GameTextForPlayer
https://sampwiki.blast.hk/wiki/GameTextForPlayer

for message use
SendClientMessage
https://sampwiki.blast.hk/wiki/SendClientMessage

for cash use
GivePlayerMoney
https://sampwiki.blast.hk/wiki/GivePlayerMoney