SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 218
Search took 0.01 seconds.
Search: Posts Made By: Undef1ned
Forum: Scripting Help 19/02/2019, 02:09 AM
Replies: 23
Views: 446
Posted By Undef1ned
Re: How can i restrict players from entering a specific vehicle?

Why so many complications with this issue?


//OnPlayerStateChange
if(newstate == PLAYER_STATE_DRIVER)
{
new vehicleid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vehicleid)...
Forum: Scripting Help 17/02/2019, 11:04 PM
Replies: 23
Views: 446
Posted By Undef1ned
Re: How can i restrict players from entering a specific vehicle?

public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER)
{
new vmodel = GetVehicleModel(GetPlayerVehicleID(playerid));
if(vmodel == 520 &&...
Forum: Scripting Help 24/01/2019, 09:14 PM
Replies: 2
Views: 89
Posted By Undef1ned
Re: help me with arrays

Must be: HouseInfo[i][hExt][1]....
Forum: Maps 19/01/2019, 08:08 PM
Replies: 6
Views: 923
Posted By Undef1ned
Forum: Scripting Help 19/01/2019, 01:33 PM
Replies: 13
Views: 281
Posted By Undef1ned
Re: OnPlayerTakeDamage

You must verify if issuerid is a valid player. If it is not a valid player, issuerid will be INVALID_PLAYER_ID "0xFFFF (65536)".
Forum: Scripting Help 18/01/2019, 01:40 AM
Replies: 7
Views: 189
Posted By Undef1ned
Re: Issues with /spectate command

'params []' are parameters.

(playerid, params[])

You can look for tutorials on that here in the forum.
Forum: Scripting Help 17/01/2019, 08:57 PM
Replies: 7
Views: 189
Posted By Undef1ned
Re: Issues with /spectate command

Test it.


CMD:spec(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] <= 0) return SCM(playerid, COLOR_ERROR,"You do not have the required access to execute this command.");

...
Forum: SA-MP 0.3.DL 17/01/2019, 08:29 PM
Replies: 9
Views: 997
Posted By Undef1ned
Re: file download

Can this be done through a dedicated?
Forum: Scripting Help 17/01/2019, 04:26 PM
Replies: 7
Views: 189
Posted By Undef1ned
Re: Issues with /spectate command

Test it.

By the way, in the 'foreach' you must verify if all the 'id' traversed are in 'spectator' mode (variable 'IsSpecing' enabled). Another thing, when using 'foreach' it is not necessary to...
Forum: Server Support 02/01/2019, 11:30 PM
Replies: 6
Views: 1,038
Posted By Undef1ned
Re: Query attack

28/08/2017
Forum: Everything and Nothing 02/01/2019, 02:41 AM
Replies: 21
Views: 1,215
Posted By Undef1ned
Re: Buy the best VPS

Thanks for the recommendation! :D

Anyone else give any good suggestions for what I need? :)
Forum: Everything and Nothing 02/01/2019, 02:37 AM
Replies: 33
Views: 1,446
Posted By Undef1ned
Re: Happy New Year! 2019

Happy New Year, may this be a year full of many codes for all! ^^
Forum: Everything and Nothing 30/12/2018, 03:49 PM
Replies: 21
Views: 1,215
Posted By Undef1ned
Re: Buy the best VPS

In my case, I simply look for a VPS that has good sustainability and speed. That the attacks can be "avoided" as much as possible. Well, I do not have as much knowledge about the protections and...
Forum: Scripting Help 30/12/2018, 01:19 PM
Replies: 6
Views: 430
Posted By Undef1ned
Re: Help with police stop player

Do a debugging to know where the function is executed or not executed.
Forum: Scripting Help 30/12/2018, 03:21 AM
Replies: 12
Views: 181
Posted By Undef1ned
Re: Help ME OUT

The identification of the player in the callback was not defined. Show your complete code (callback)
Forum: Scripting Help 30/12/2018, 02:00 AM
Replies: 4
Views: 97
Posted By Undef1ned
Re: Dying Animation Name

CS_Dead_Guy


ApplyAnimation(playerid, "WUZI", "CS_Dead_Guy", 4.0, 0, 0, 0, 1, 0);
Forum: Scripting Help 30/12/2018, 01:53 AM
Replies: 1
Views: 61
Posted By Undef1ned
Re: help

if(newkeys & KEY_YES)
{
Tolevel(playerid,6);
if(InActAuto[playerid] && ActStatus >= 2) return SendClientMessage(playerid,Red, ".you cant do this in act do /Qact to do this"); ...
Forum: Scripting Help 30/12/2018, 01:42 AM
Replies: 1
Views: 68
Posted By Undef1ned
Re: Pawn Compiler stops working after updating YSI

Have you tried compiling with the previous version of YSI that you had previously, to see if that is really the error?
Forum: Scripting Help 30/12/2018, 01:33 AM
Replies: 3
Views: 100
Posted By Undef1ned
Re: Where can I DL Vice City models?

And what is the difference in downloading them? It will only use the skins.
Forum: Scripting Help 30/12/2018, 01:27 AM
Replies: 6
Views: 430
Posted By Undef1ned
Re: Help with police stop player

Test.


if(PRESSED(KEY_ANALOG_DOWN))
{
if(IsPlayerInAnyVehicle(playerid))
{
if(IsJobFromLaw(PlayerDB[playerid][Job]))
{
foreach(new i: Player)
Forum: Everything and Nothing 30/12/2018, 12:39 AM
Replies: 21
Views: 1,215
Posted By Undef1ned
Re: Buy the best VPS

I am also looking for a good company that has good protection to buy vps for my server, what do you recommend for a serious server of 100 - 120 players?
Forum: Server Support 29/12/2018, 02:25 AM
Replies: 9
Views: 478
Posted By Undef1ned
Re: cheat of vehicles

Maybe, check the positions of the vehicles every second, then check if any of those positions is not equal to the previous ones, and finally check if the vehicle continues to move and has no driver...
Forum: Gamemode Scripts 25/12/2018, 05:58 PM
Replies: 32
Views: 3,418
Posted By Undef1ned
Re: Vice City Emergency Responders [0.3-DL]

What program do you use to create those letters that are in the .txd file? By the way, good job.
Forum: Scripting Help 25/12/2018, 05:16 PM
Replies: 5
Views: 143
Posted By Undef1ned
Re: 2 Errors

From what I see "IgracevInfo" is a global text drawing and it is necessary that it be a text player to be used in that way.

It must be like this:


new PlayerText:IgracevInfo[MAX_PLAYERS][14];...
Forum: Scripting Help 25/12/2018, 03:08 AM
Replies: 8
Views: 174
Posted By Undef1ned
Re: Sound ID - +REP For Helper

No need to get the player's position
Showing results 1 to 25 of 218

 

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


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