Search Results
Код:
if(strcmp(cmd, "/wankoff", true) == 0) {
// Get the dance style param
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid,0xFF0000FF,"Usage: /w...
84
Код:
public OnPlayerSpawn(playerid)
{
new house = PlayerInfo[playerid][pPhousekey];
if(house !=-1)
{
if(SpawnChange[playerid]) //If 1, then you get to your house, else spawn somewhere else
...
78
*bump*
If i take one it gives me both pickups
108
pos are different i forgot to change it here :P
hmm smth wrong getting much errors
108
Quote:
And add 'return 1;' to the end of each pickup code
i cant add "return1" end of the first pickup it gives me much errors... Can you show me how ?
108
I tried that dont helps
edit: If i change it to "if" onl, it gives me the both pickups
108
Код:
Pickup1 = CreatePickup(1550, 2, BagPos[0], BagPos[1], BagPos[2], -1);
Pickup2 = CreatePickup(1254, 2, BagPos[0], BagPos[1], BagPos[2], -1);
Код:
public OnPlayerPickUpPickup(playerid, p...
108
I was using the standard cmd processor and i had one time new string[128]; and new sendername[MAX_PLAYER_NAME];
under Onplayercommandtext.... now i changed to zcmd.. must i put it on every code or is ...
50
Quote:
Originally Posted by Jonny5
make sure you have
pawn Код:
MINIMISSIONPICKUP = CreatePickup(...);
this is the only way MINIMISSIONPICKUP will know the pickup id.
yea i did th...
142
I have 1 static pickup at my gm
It's under OnGameModeInIt
Код:
AddStaticPickup(1239, 2, 2176.3914,-2258.8840,14.7734, 0);
And i have 1 createpickup (its mini-mission it appears with a timer)
I...
142
hmm how to fix then?
I need to add "}" this over/under the error line ?
103
Код:
public OnPlayerEnterCheckpoint(playerid)
{
new newcar = GetPlayerVehicleID(playerid);
switch (gPlayerCheckpointStatus[playerid])
{
case CHECKPOINT_PROD1:
{
if(newcar >...
103
Код:
[02:07:35] OnGameo <----------- THIS
[02:07:35] Loaded 2 vehicles
[02:07:35] Loaded 1 dealerships
[02:07:35] Loaded 0 fuel stations
[02:07:35] Number of vehicle models: 4
That comes ...
97
i want that my 1st vehicle under ongamemodeinit should start from id 200 example... 2nd vehicle id 201 etc
Normal: They start from 1 2 3 etc....
112
If i add 3 vehicles under ongamemodeinit they start from vehid 0 1 2 3 etc
How can i make that the 1st car start from id 200 example ?
112
Quote:
Originally Posted by Andi_Evandy
try:
pawn Код:
case 0: dcmd_dm1(playerid, "");
Thanks it works
67
Код:
case 0: dcmd_dm1(playerid);
Код:
warning 202: number of arguments does not match definition
why this dont works?
67