SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 101
Search took 0.01 seconds.
Search: Posts Made By: polygxn
Forum: Scripting Help 19/07/2019, 10:03 AM
Replies: 1
Views: 82
Posted By polygxn
Re: limit of textdraws

With a textdraw streamer: https://github.com/kristoisberg/samp-td-streamer
Forum: Scripting Help 19/07/2019, 10:01 AM
Replies: 1
Views: 76
Posted By polygxn
Forum: Scripting Help 09/05/2019, 01:26 PM
Replies: 6
Views: 349
Posted By polygxn
Re: Visual Studio Code Compiler not compiling

{
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["'${fileBasename}'",...
Forum: Scripting Help 06/05/2019, 09:15 AM
Replies: 8
Views: 159
Posted By polygxn
Re: Sa-mp Error while launching

Re-complie the gamemode.
Forum: Scripting Help 21/04/2019, 03:30 AM
Replies: 10
Views: 225
Posted By polygxn
Forum: Scripting Help 21/04/2019, 02:28 AM
Replies: 10
Views: 225
Posted By polygxn
Re: Why is this (Graphics error)

EDIT: Dont do TogglePlayerSpectating. As soon as you change camera position/look at, change the players position with it. For example:

SetPlayerCameraPos( ... );
SetPlayerCameraLookAt( ... );...
Forum: Scripting Help 20/04/2019, 08:15 PM
Replies: 10
Views: 225
Posted By polygxn
Re: Why is this (Graphics error)

http://prntscr.com/neo55p
Forum: Scripting Help 20/04/2019, 05:11 PM
Replies: 3
Views: 114
Posted By polygxn
Re: MySQL doesn't properly write to database

Set the "Username" and "Password" table to varchar, and specify a lenght for them. Also, look up some MySQL tutorials or something here, on the forum, could be helpful to you in the future.
Forum: Scripting Help 19/04/2019, 08:57 PM
Replies: 9
Views: 244
Posted By polygxn
Forum: Scripting Help 19/04/2019, 03:22 PM
Replies: 4
Views: 135
Posted By polygxn
Re: Login Bug

Its actually more than OnPlayerSpawn. We need the login/register dialog instead of this, and maybe the OnPlayerRequestSpawn, Im not sure.
Forum: Scripting Help 19/04/2019, 02:43 PM
Replies: 9
Views: 244
Posted By polygxn
Re: Error 76: Syntax error in the expression, or invalid function call

Saving this much player data at once is a bad idea. You should save things like skin, job, cash, etc. right when they changes. For example when the player bought a new skin, save it right away.
...
Forum: Scripting Help 16/04/2019, 02:20 AM
Replies: 2
Views: 158
Posted By polygxn
Re: /Gender Script (Help)

CMD:gender(playerid, params[]) {
new skin = GetPlayerSkin(playerid);
if(skin == 73)
SetPlayerSkin(playerid, 207); // Male -> Female
else if(skin == 207)
SetPlayerSkin(playerid,...
Forum: Scripting Help 15/04/2019, 07:22 PM
Replies: 2
Views: 127
Posted By polygxn
Re: Vehicle spawning too low

You can try to find the Z coordinate with MapAndreas and spawn the vehicle there. Maybe...
Forum: Scripting Help 15/04/2019, 03:22 PM
Replies: 5
Views: 179
Posted By polygxn
Re: Respawn vehicles

RespawnNearbyVehicles(playerid, Float:radi) {
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for(new i = 1; i < MAX_VEHICLES; i++) {
if(GetVehicleModel(i)) {
new...
Forum: Scripting Help 14/04/2019, 03:13 PM
Replies: 1
Views: 93
Posted By polygxn
Forum: Scripting Help 14/04/2019, 03:10 PM
Replies: 1
Views: 152
Posted By polygxn
Re: How to preload animations?

new const AnimLibs[][] = {
"AIRPORT", "ATTRACTORS", "BAR", "BASEBALL", "BD_FIRE",
"BEACH", "BENCHPRESS", "BF_INJECTION", "BIKE_DBZ", "BIKED",
"BIKEH", ...
Forum: Scripting Help 14/04/2019, 01:57 AM
Replies: 4
Views: 162
Posted By polygxn
Re: How to remove "SetVehicleParamsForPlayer(vehicleid, playerid)"

pvtime[playerid] = 25;
pvtimer[playerid] = SetTimerEx("pvTimeDown", 1000, 1, "d", playerid);


This is not how you use timers. Take a look here: https://wiki.sa-mp.com/wiki/SetTimerEx
...
Forum: Scripting Help 14/04/2019, 01:30 AM
Replies: 4
Views: 162
Posted By polygxn
Forum: Scripting Help 13/04/2019, 02:30 PM
Replies: 2
Views: 129
Posted By polygxn
Re: data base saving problem

`name` = '%d'

Also, check your MySQL log file aswell.
Forum: Scripting Help 13/04/2019, 02:26 PM
Replies: 3
Views: 129
Posted By polygxn
Re: Help

Like what the hell are you talking about. He want to set-up an SMS system to his server, how SendClientMessage gonna help with that?
Forum: Scripting Help 08/04/2019, 09:16 PM
Replies: 8
Views: 192
Posted By polygxn
Re: Error: Function not registered: 'WP_Hash'

If you have a nativechecker plugin then put it in the last place in your server.cfg. Its probably just a false error. If not, just copy this anywhere in your GM:
native WP_Hash(buffer[], len, const...
Forum: Scripting Help 06/04/2019, 11:56 AM
Replies: 3
Views: 143
Posted By polygxn
Re: Reason

This is pretty...scuffed. At least let the player know that he need to specify a reason aswell besides the playername.
Forum: Scripting Help 06/04/2019, 11:53 AM
Replies: 3
Views: 143
Posted By polygxn
Re: Reason

new reason[64];
if(sscanf(params, "us[64]", id, reason)) return SCM(playerid,COLOR_GREY, "USAGE: {FFFFFF}/auninvite <playerid/name> <reason>");

// The reason can't be 12 characters or less....
Forum: Scripting Help 05/04/2019, 08:36 PM
Replies: 4
Views: 178
Posted By polygxn
Re: Makeadmin error

There is a problem with the SendAdminHelperMessage Im pretty sure. Give us the function itself.
Forum: Scripting Help 05/04/2019, 01:20 PM
Replies: 4
Views: 119
Posted By polygxn
Re: Logo

The diamond icon there cause a modified hud.txd file.
Showing results 1 to 25 of 101

 

All times are GMT. The time now is 09:47 PM.


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