Jump to content
  • 0

Problema creare Pickup


John

Question

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(108) : warning 217: loose indentation

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(116) : warning 217: loose indentation

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(160) : warning 217: loose indentation

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(165) : error 010: invalid function or declaration

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(279) : warning 217: loose indentation

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(282) : error 010: invalid function or declaration

C:\Documents and Settings\Administrator\Desktop\Serverul Meu !\GM-ul Meu !\Untitled.pwn(365) : warning 203: symbol is never used: "MyPickup"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

Imi da eroare dupa ce am facut 

new cash;

public OnGameModeInit()

{

    cash = CreatePickup(1274, 2, 0.0, 0.0, 9.0);

    return 1;

}

public OnPlayerPickUpPickup(playerid, pickupid)

{

    if(pickupid == cash) GivePlayerMoney(playerid,10000);

    return 1;

}

public OnPlayerDeath(playerid, killerid, reason)

{

  new string[32];

  // Award $10,000 to the killer

  GivePlayerMoney(killerid, 10000);

  format(string, sizeof(string), "You now have %d.", GetPlayerMoney(killerid));

  SendClientMessage(killerid, 0xFFFFFFFF, string);

}

Ajutati-ma !

SAMP - Counter Strike 1.6

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.