Search Results
Quote:
Originally Posted by Logofero
As it does not fire unless shooting. Check your code better, can somewhere above error.
Код:
// This is a comment
// uncomment the line below ...
188
Quote:
Originally Posted by Logofero
Add code
PHP код:
if(GetVehicleModel(GetPlayerVehicleID(playerid))Â ==Â 564Â &&Â FireShot[playerid]Â ==Â 0Â &&Â KEY_FIREÂ &Â...
188
Quote:
Originally Posted by Logofero
PHP код:
if(GetPlayerVehicleID(playerid) == 564 && FireShot[playerid] == 0 && KEY_FIRE & newkeys && IsVa...
188
Код:
new FireShot[MAX_PLAYERS];
new gRocketObj[MAX_PLAYERS];
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(GetPlayerVehicleID(playerid) == 564 && FireShot[playerid] == 0...
188
Quote:
Originally Posted by HazardouS
The code you posted should work too.
To include variables in strings (such as player names), use the "format" function: https://sampwiki.blast.hk/wik...
191
Quote:
Originally Posted by HazardouS
Here you go. I've added only the basic stuff, you can format the strings before sending them so you can include the target player name in the message ...
191
Quote:
Originally Posted by HazardouS
You have to extract the "user" param from the "params" string. For this, since you're already using ZCMD, I'd recommend installing (or using, if you h...
191
Quote:
Originally Posted by SpikeSpigel
I didn't got what you want to do . You said that this commands wont work like /makepremium ID and it's working only if the person who wants premium...
191
Quote:
Originally Posted by Fancy
I dont know but what should i do if i pass the limit?
and does the tube connector uses the function CreateObject?
use the streamer include
209
Код:
COMMAND:makepremium(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
if(IsPlayerConnected(playerid))
{
new playerfile[128], pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, si...
191
Код:
CMD:v(playerid, params[])
{
if(level[playerid] >= 1)
if(IsPlayerConnected(playerid))
new Vehicle[32], VehicleID, ColorOne, ColorTwo;
PlayerInfo[playerid][pCanSpawnVehic...
141
Quote:
Originally Posted by liquor
First off, It is always better to use a timer than OnPlayerUpdate.
OnPlayerUpdate will run your code ~30 times per second, and there are
very few codes t...
149
Quote:
Originally Posted by dominik523
Did you want to write this?
pawn Code:
if(!PlayerMoney[ playerid ]){Â Â Â Â Â PlayerMoney[ playerid ] = GetPlayerMoney(playerid);Â Â Â Â Â a...
149
Hello I've tried to get the increased value of money doing like so but i got this errors:
Code:
C:\Users\Lorenzo\Desktop\samp server\filterscripts\Premium 2.pwn(132) : error 029: invalid expression,...
149
Quote:
Originally Posted by MasonSFW
Did you have login/register system ? You should save player account to Premium -> users -> player account file .ini
Yes i have it but i havent...
111