SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 74
Search took 0.00 seconds.
Search: Posts Made By: Calinut200
Forum: Scripting Help 29/05/2020, 05:12 PM
Replies: 4
Views: 117
Posted By Calinut200
Timer don't stop

Helo! This timer don't stop, is looping over and over but i use function killtimer

new stopracetimer;
stopracetimer = SetTimer("startrace", 1000, 1);
KillTimer(stopracetimer);

This functions...
Forum: Scripting Help 29/05/2020, 01:10 PM
Replies: 1
Views: 73
Posted By Calinut200
Help put player in vehicle

Helo Guys! I have a race system and i have some problems.
When the race lobby is 2/2 the race will start and only first player will be put in the vehicle created
How to make if are 5 players in...
Forum: Scripting Help 28/05/2020, 01:24 PM
Replies: 3
Views: 93
Posted By Calinut200
How to activate a timer

How to activate a timer like that only if a variable is 1;

ptask name[1000](playerid)
{
// my code
}


This is the timer from YNI includes, i wanna work only work if a variable...
Forum: Scripting Help 23/05/2020, 06:28 PM
Replies: 4
Views: 159
Posted By Calinut200
Re: help

not work
you fucking see what say the warning..
Forum: Scripting Help 23/05/2020, 04:22 PM
Replies: 4,149
Views: 640,012
Posted By Calinut200
Re: Little coding questions - For general minor queries 5

how to rezolve?
if(PlayerText:linia11 == strcmp("PLD_SLOT:r_69","LD_SLOT:r_69"))
warning 213: tag mismatch: expected tag "PlayerText", but found none ("_")
Forum: Scripting Help 23/05/2020, 04:08 PM
Replies: 4
Views: 159
Posted By Calinut200
help

Helo!
I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"

I try something like that but this is show now...
Forum: Scripting Help 23/05/2020, 12:49 PM
Replies: 2
Views: 87
Posted By Calinut200
how to use IF

How to use IF like that
if(x = 0 and y = 0 and z = 0)
{
// my code
}
else if x != 0 sendclientmessage(playerid,-1,"x is not 0");
else if y != 0 sendclientmessage(playerid,-1,"y is not 0");...
Forum: Scripting Help 23/05/2020, 11:38 AM
Replies: 0
Views: 56
Posted By Calinut200
Check Textdraw Box Object

Helo!
I make a slots machine system and i wanna try something.
If first box object is "69" to write in chat "First textdraw is 69"

if(PlayerText:linia11 == "LD_SLOT:r_69")
{ ...
Forum: Scripting Help 21/05/2020, 04:48 PM
Replies: 3
Views: 129
Posted By Calinut200
Re: new random

you not understand, in each case i have a'n random man
Forum: Scripting Help 21/05/2020, 02:29 PM
Replies: 3
Views: 129
Posted By Calinut200
new random

Helo!
If i have a code like that
new rand = random(5);
switch(rand)
{
case 0:
{
new rand = random(5);
{
...
Forum: Scripting Help 21/05/2020, 12:55 PM
Replies: 1
Views: 105
Posted By Calinut200
stock showtextdraw

Helo friends, i wanna make a stock who show's textdraw i select
stock showtdline(player, linie)
{
PlayerTextDrawShow(player, linie);
return 1;
}
But if i use is in my script like that...
Forum: Scripting Help 21/05/2020, 09:07 AM
Replies: 1
Views: 80
Posted By Calinut200
Object Help?

I wanna know all this objects id, i can't find them

https://dev.prineside.com/en/gtasa_samp_model_id/model/2349-CJ_Wheel_03/

The "69"
The "Ring"
The "Bar"
etc etc
Forum: Scripting Help 16/05/2020, 06:50 PM
Replies: 1
Views: 72
Posted By Calinut200
delay command

Helo i try to make an delay to commands but i get this...

new delay[MAX_PLAYERS];

ptask delaytime[1000](playerid)
{
if(delay[playerid] != 0)
{
delay[playerid]--;
}
Forum: Scripting Help 04/05/2020, 02:04 PM
Replies: 3
Views: 79
Posted By Calinut200
Re: Problem YCMD

If i put
#include <YSI\y_commands>
i get errors
Forum: Scripting Help 04/05/2020, 12:50 PM
Replies: 3
Views: 79
Posted By Calinut200
Problem YCMD

Hello, i use a tutorial for dynamic business and don't work the command, no errors only warnings but the commands in game don't work.
C:\Users\Calinacho\Desktop\server ...
Forum: Scripting Help 01/04/2020, 07:59 PM
Replies: 3
Views: 129
Posted By Calinut200
Re: How to make an include?

How to make that? I'm new in this include
Forum: Scripting Help 01/04/2020, 07:42 PM
Replies: 3
Views: 129
Posted By Calinut200
How to make an include?

Helo! i make an simple include to test something and i have a error
#if defined _admin_included
#endinput
#endif
#define _admin_included

#tryinclude <a_samp>

public...
Forum: Scripting Help 30/03/2020, 11:07 PM
Replies: 2
Views: 96
Posted By Calinut200
how to make a command with different options?

How can i make a command with different options?
like /set and there is the options[skin/level/faction] etc etc?
an exemple ?
Forum: Scripting Help 30/03/2020, 08:19 PM
Replies: 1
Views: 168
Posted By Calinut200
How to optimize

Can i optimize this command and function to be more faster and use less memory etc
CMD:stage(playerid, params[])
{
new option[35];
if(!IsPlayerInAnyVehicle(playerid)) return...
Forum: Scripting Help 29/03/2020, 06:02 PM
Replies: 3
Views: 98
Posted By Calinut200
Re: Help

Thank you bro <3
Forum: Scripting Help 29/03/2020, 05:40 PM
Replies: 3
Views: 98
Posted By Calinut200
Help

Helo! i make a player textdraw for speedometer, all work only not
"Vehicle: X"
I found a include to get vehiclename and to show it and don't work.
If i make something like that is working
...
Forum: Scripting Help 29/03/2020, 01:14 AM
Replies: 3
Views: 107
Posted By Calinut200
Re: How to name someting

And how to make
PlayerInfo[playerid][pJob] == 1; When is type getjob because is say in console that is not work
Forum: Scripting Help 28/03/2020, 11:53 PM
Replies: 3
Views: 107
Posted By Calinut200
How to name someting

Hello!
I wanna make if
PlayerInfo[playerid][pJob] is == 1
then when i use command /stats
CMD:stats(playerid)
{
new string[258],name[MAX_PLAYER_NAME];...
Forum: Scripting Help 27/03/2020, 05:41 PM
Replies: 2
Views: 100
Posted By Calinut200
Forum: Scripting Help 27/03/2020, 03:50 PM
Replies: 2
Views: 100
Posted By Calinut200
Account not save

Hello everyone! I make a register/login sistem from a tutorial and is works fine but when i put my server on host, after dissconect from server, the server dosen't save the account in...
Showing results 1 to 25 of 74

 

All times are GMT. The time now is 02:39 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.