20.09.2010, 19:18
I'm getting the error ''Undefined symbol cmdtext''
It was my first attempt on adding a cmd to OnPlayerPickupPickup. Here is the part of the script the error is coming from:
Best regards Jur.
It was my first attempt on adding a cmd to OnPlayerPickupPickup. Here is the part of the script the error is coming from:
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == Crackpalice) { if (strcmp("/13532", cmdtext, true, 10) == 0) { // Do something here SetPlayerInterior(playerid, 2); SetPlayerPos(playerid, 2567.52, -1294.59, 1063.25 ); } } return 1; }