| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,652
» Latest member: xleb
» Forum threads: 2,482
» Forum posts: 12,534
Full Statistics
|
| Online Users |
There are currently 320 online users. » 1 Member(s) | 316 Guest(s) Google, Bing, Yandex
|
| Latest Threads |
Qawno for macOS — native ...
Forum: Releases
Last Post: DrVandersexxx
5 hours ago
» Replies: 1
» Views: 89
|
[Release] Spawn — IDE for...
Forum: Programming
Last Post: Daniil Korochansky
Yesterday, 08:35 PM
» Replies: 0
» Views: 30
|
Proiecte care asteapta Op...
Forum: Romanian/Română
Last Post: ionuzcostin
Yesterday, 07:55 PM
» Replies: 14
» Views: 28,941
|
Streets Of Vice Roleplay ...
Forum: Advertisements
Last Post: BazMartin
Yesterday, 07:50 PM
» Replies: 0
» Views: 31
|
[VoiceChat] omp-voice
Forum: Plugins
Last Post: ionuzcostin
Yesterday, 06:15 PM
» Replies: 0
» Views: 26
|
discord unban appeal - pa...
Forum: Chat
Last Post: PanizFazel
Yesterday, 01:28 AM
» Replies: 0
» Views: 47
|
open.mp Dashboard
Forum: Chat
Last Post: Nexius
2026-06-11, 01:22 PM
» Replies: 9
» Views: 694
|
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
2026-06-11, 09:50 AM
» Replies: 0
» Views: 61
|
SS7-AI v1.0.0
Forum: Libraries
Last Post: Saints7
2026-06-08, 03:04 PM
» Replies: 0
» Views: 78
|
[Announcement] Spawn - An...
Forum: Tech
Last Post: Daniil Korochansky
2026-06-08, 10:48 AM
» Replies: 0
» Views: 106
|
|
|
| Class System for my Server |
|
Posted by: SilverStar - 2020-11-20, 04:35 PM - Forum: General Discussions
- No Replies
|
 |
I have developed the gangwar game mode, there are 2 role
- Police
- Gang
In the gang role, there are 4 teams, Grove, Ballas, Aztec, Vagos. And for now I am thinking of adding classes like Rank to these 2 roles and also the features of each class. Can anyone help me come up with class names for Role Gang and Police? along with its unique features from each of these classes??
Edit:?I am also thinking that the class name will be taken from the rank gang and police in real life, please give your ideas
|
|
|
|
| PlayerTextDrawBoxColor is not work |
|
Posted by: Zow - 2020-11-20, 11:28 AM - Forum: Pawn Scripting
- No Replies
|
 |
When I typed /show and then rCheck only switch me from 0 to 1 and done?
I want them to keep count until the end?
I know my code look stupid but I dont know how to do it in other way
Code: CMD:show(playerid, params[])
{
? ? PlayerTextDrawShow(playerid, Brandom[playerid]);
? ? PlayerTextDrawShow(playerid, Lrandom[playerid]);
? ? PlayerTextDrawShow(playerid, Mrandom[playerid]);
? ? PlayerTextDrawShow(playerid, Rrandom[playerid]);
? ? Timer[playerid] = SetTimerEx("rCheck", 100, true, "dd", playerid, RCount[playerid]);
return 1;
}
CMD:hide(playerid, params[])
{
? ? PlayerTextDrawHide(playerid, Brandom[playerid]);
? ? PlayerTextDrawHide(playerid, Lrandom[playerid]);
? ? PlayerTextDrawHide(playerid, Mrandom[playerid]);
? ? PlayerTextDrawHide(playerid, Rrandom[playerid]);
? ? KillTimer(Timer[playerid]);
return 1;
}
Hide(playerid)
{
? ? PlayerTextDrawHide(playerid, Lrandom[playerid]);
? ? PlayerTextDrawHide(playerid, Mrandom[playerid]);
? ? PlayerTextDrawHide(playerid, Rrandom[playerid]);
? ? return 1;
}
Show(playerid)
{
? ? PlayerTextDrawShow(playerid, Lrandom[playerid]);
? ? PlayerTextDrawShow(playerid, Mrandom[playerid]);
? ? PlayerTextDrawShow(playerid, Rrandom[playerid]);
? ? return 1;
}
Frandom(playerid)
{
? ? PlayerTextDrawBoxColor(playerid, Lrandom[playerid], -16776961);
? ? PlayerTextDrawBoxColor(playerid, Mrandom[playerid], 115);
? ? PlayerTextDrawBoxColor(playerid, Rrandom[playerid], -16776961);
}
Srandom(playerid)
{
? ? PlayerTextDrawBoxColor(playerid, Lrandom[playerid], 115);
? ? PlayerTextDrawBoxColor(playerid, Mrandom[playerid], -16776961);
? ? PlayerTextDrawBoxColor(playerid, Rrandom[playerid], 115);
}
forward rCheck(playerid, count);
public rCheck(playerid, count)
{
? ? switch(count)
? ? {
? ? ? ? case 0:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 1:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 2:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 3:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 4:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 5:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 6:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 7:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 8:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 9:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 10:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 11:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 12:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Frandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 13:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? Srandom(playerid);
? ? ? ? ? ? Show(playerid);
? ? ? ? }
? ? ? ? case 14:
? ? ? ? {
? ? ? ? ? ? Hide(playerid);
? ? ? ? ? ? KillTimer(Timer[playerid]);
? ? ? ? }
? ? }
? ? RCount[playerid];
? ? return 1;
}
|
|
|
|
| Help me with an idea please |
|
Posted by: Ryder Sixz - 2020-11-18, 10:45 PM - Forum: General Discussions
- Replies (5)
|
 |
Hello, I have been developing a Roleplay gamemode for months, I do it more to pass the time than for anything else. Well the fact is that I am in the part of the works, and I would like you to help me with any suggestion that another job could implement the GM, the ones I already have are:?
-Garbage man
-Taxi driver?
-Policeman?
-Miiner?
-Harvester?
-Street sweeper?
-Lumberjack?
-Trucker?
What other do you recommend? I appreciate any ideas, greetings to all!
|
|
|
|
| How can i embed color in Textdraw? |
|
Posted by: Cada - 2020-11-14, 07:59 AM - Forum: General Discussions
- Replies (3)
|
 |
Hello.
I want to make Textdraw with couple of colors.
I know that i can make it like " Oh!?~r~Hello ~w~World" but i can`t " Oh! {FF0000}Hello {FFFFFF}World".
i want to embed hex color. can i do it?
Finally, i want to make textdraw based on gray, and make some color red.
Ex) {Gray}Oh!! Hey, {Red}How {Gray}are you?
Plz help me!!
|
|
|
|
|